Are arbitrary INSERT
's supported?
#1697
Unanswered
SamuelSarle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings,
Could you please help me understand the capabilities and limitations of Qlever a bit? I'd like to be able to insert data but this doesn't seem to be supported yet.
I do the following steps to reproduce the exception
"exception": "Assertion `blocks.size() <= 1` failed. Should only be called for small relations. Please report this to the developers. In file \"/qlever/src/index/CompressedRelation.cpp \" at line 1513"
:Now inside the container:
# add a default Qleverfile qlever setup-config default
And either inside the container shell or on the host, use your favourite $EDITOR to modify the
Qleverfile
and updatedata.NAME
andindex.INPUT_FILES
as follows:Create a file
initial.nt
that contains some data:Returning to the interactive shell inside the container:
So the container shell is now following the server logs and I do this in another terminal window on the host machine:
The shell with
qlever log
open shows:Image:
Also environment info, although I don't think it's relevant here:
So the following two questions arise:
INSERT DATA
contains only terms that are in the vocabulary so I assume that the vocab is the source of the error.SELECT
's subsequent to theINSERT
, is my understanding correct that the inserts/updates are not persistent yet? The index and vocabulary files on disk have the original modified timestamp from when theqlever index
was run and data disappears if I restart the server.Relevant links:
DeltaTriplesManager
to processupdate
request #1608Beta Was this translation helpful? Give feedback.
All reactions