Incorrect results from SQL query referencing saved question with more than 1,048,575 rows #24969
Labels
.Backend
.Correctness
Priority:P1
Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness
Querying/Processor
.Team/QueryProcessor
:hammer_and_wrench:
Type:Bug
Product defects
Milestone
Describe the bug
Using a saved question as the source of a native SQL question applies the
absolute-max-row
limit on a referenced saved question. This causes incorrect results if the number of rows in the results of the saved question exceeds theabsolute-max-row
limit of 1,048,575 rows.To Reproduce
To reproduce this bug on stats.metabase.com:
select count(*) from {{#3367}}
. The result will be 1,048,575, even though we should get the same result as step 1.Related to #24793
The text was updated successfully, but these errors were encountered: