-
Notifications
You must be signed in to change notification settings - Fork 870
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
Problem of SKIP and LIMT with UNWIND #6528
Comments
Can you provide a sample dataset to reproduce the problem? Thanks Luigi |
Hi @luigidellaquila , select * from category_details limit 1
And select * from company_details limit 1
|
reproducing the problem from two query results with a single record each is quite hard for me... any chance to have a full dataset (eg. a db dump) where the problem happens? Thanks Luigi |
Sory @luigidellaquila it is not possible for me to give you the dump of db or whole schema. You can try with same datasource but the difference will be links vs edges between two vertices or class and try to get related data with skip and limit. |
@dhirender-tyagi please provide adequate information to help us resolve your issue. if the issue cannot be easily reproduced, it becomes extremely hard to triage and identify the fix. I suggest if you need any help with this issue then please provide some test data against which the issue can be reproduced. thanks for your understanding |
Sorry, I have to close this issue as I was not able to reproduce it. Thanks Luigi |
Hi,
I am using v2.2.3 of orientdb.
I have problem with UNWIND with skip and limit.
I have query like
"select IN('Com_has_cat').Industry_Name as Industry_name from category_details where status = 1 and IN('Com_has_cat')[0].Industry_Name like '%Automotive%' and category_ids not in [] order by category_name UNWIND Industry_name SKIP 5 LIMIT 5"
It gives me 0 result
But when I remove UNWIND from query
"select IN('Com_has_cat').Industry_Name as Industry_name from category_details where status = 1 and IN('Com_has_cat')[0].Industry_Name like '%Automotive%' and category_ids not in [] order by category_name SKIP 5 LIMIT 5"
It return 5 results.
So can you please let me know this weird behaviour.
The text was updated successfully, but these errors were encountered: