-
Notifications
You must be signed in to change notification settings - Fork 852
AQL: Expecting Array slice [node #6: IndexNode] ? #19168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm also able to reproduce this issue, which along with #19264 caused us to shut down our upgraded production database and restore it into a new ArangoCloud instance created with 3.10.8. 👁️ Similar to the reported query, performing an
The index:
Changing sparse or the other index settings has no impact on the error. However, shortening the 6th UUID one character at a time eventually allows the query to succeed, though obviously without the 6th referenced vertex:
However, if the unique index uses the compound form Another interesting observation is that this occurs both in the OP's single server config, and our ArangoCloud OneShard instance. IIRC, there was some work done recently in ArangoDB to remove the old "unique indexes must include '_key:'" requirement, but perhaps the changes are... incomplete. |
Hi, this issue has been fixed #19153 in 3.11.1; Please upgrade to get the fixed version. |
Thanks. Unfortunately 3.11.1 is still not available on the ArangoGraph cloud instances. :-( |
Hey @nashikb, I notice that you've got a support contract with us. If you contact our support team via the "Request Help" button in the ArangoGraph UI, we should be able to get these deployments upgraded. |
Yep, thanks, was already in contact but it was after-hours. :) |
Uh oh!
There was an error while loading. Please reload this page.
My Environment
Component, Query & Data
Affected feature:
AQL query throws error
AQL query (if applicable):
AQL explain and/or profile (if applicable):
Steps to reproduce
Problem:
Query: AQL: Expecting Array slice [node #6: IndexNode] (exception location: /work/ArangoDB/arangod/Aql/ExecutionBlockImpl.tpp:505). Please report this error to arangodb.com (while executing) (exception location: /work/ArangoDB/arangod/RestHandler/RestCursorHandler.cpp:279). Please report this error to arangodb.com
Error only occurs when FILTERed by both attributes. Removing any one of the two FILTER attributes lets the query run as expected
Changing the order of the filtered attributes doesn't change anything.
Using a second FILTER instead of && doesn't change anything
Using POSITION(anyArray, search, returnIndex) instead of search IN anyArray works as expected
Expected result:
The text was updated successfully, but these errors were encountered: