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
Limit clause breaks query results #42509
Labels
Comments
kamilmielnik
added
Type:Bug
Product defects
.Backend
Querying/
.Team/QueryProcessor
:hammer_and_wrench:
labels
May 10, 2024
kamilmielnik
added a commit
that referenced
this issue
May 13, 2024
* Add repro for 32323 * Fix offset not working in case * Make offset function return any * Add a repro for #42377 * Fix order of adjustments * Revert unrelated changes * Remove commented code * Revert unrelated changes * Refactor test * Type offset aggregation * Add a test for no order by or breakout clause * Add a basic test for breakout clause * Fix assertion * Remove problematic dependency * Fix uuids generation * Remove redundant limit * Add a test for multiple breakouts * Update test names * Extract OFFSET_SUM_TOTAL_AGGREGATION * Add a repro for #42509 * Add a test for multiple aggregations and breakouts * Remove unused intercept * Move uuid utils to separate file - it wasn't possible to import the utils file in e2e tests without it * Make isUuid a type guard * Add tests for sorting * Tag the test * Add extra assertion to verify expression parsing * Add a complex scenario * Reverse isFirst logic
Note: you can easily verify that the QP returned 5 rows by looking at the response in the Network inspector |
Closing as not a bug See Slack discussion for more info https://metaboat.slack.com/archives/C06P22KS4JH/p1715820619367019 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
e2e repro in this PR: #42455 (test is skipped for now)
Repro steps:
Offset(Sum([Total]), -1)
The results have only 4 rows and 3 columns and the table has been transposed compared to results in step 5.
It's expected that the results will look the same as in step 5, but limited to 5 first rows.
The text was updated successfully, but these errors were encountered: