Commit acc3119
[CALCITE-7420] Enable !ok for ~290 tests in Quidem .iq files
Previously, tests using sales-schema tables (e.g., sales.emp) or
focusing on plan transformation had comments like:
# Not using !ok: query uses the sales schema, which is not in the scott database.
# Not using !ok: this test focuses on plan transformation (see !sub-plan).
This commit enables !ok for all such tests that are compatible with the
scott HSQLDB database, adding the expected query results. Sales-schema
references (sales.emp, sales.dept, etc.) are converted to unqualified
names (emp, dept, etc.) so they run against the scott catalog.
Tests that remain disabled are those using non-scott tables
(empnullables, deptnullables, DEPT_NESTED), non-deterministic functions
(RAND, RAND_INTEGER, CURRENT_TIMESTAMP), or queries that fail in H2
due to implementation limits (very large LIMIT/OFFSET values, EXCEPT
with correlated subqueries, ORDER BY null, SINGLE_VALUE aggregation
with multiple rows).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 759c03a commit acc3119
21 files changed
Lines changed: 8846 additions & 507 deletions
File tree
- core/src/test/resources/sql/rule
Lines changed: 387 additions & 25 deletions
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Lines changed: 477 additions & 95 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
114 | 134 | | |
115 | 135 | | |
116 | 136 | | |
| |||
Lines changed: 404 additions & 7 deletions
Large diffs are not rendered by default.
Lines changed: 239 additions & 26 deletions
Large diffs are not rendered by default.
0 commit comments