Files
greptimedb/tests/cases/standalone/common/select/union_all.result
Lei, HUANG 7dd0e3ab37 fix: Panic in UNION ALL queries (#4796)
* fix/union_all_panic:
 Improve MetricCollector by incrementing level and fix underflow issue; add tests for UNION ALL queries

* chore: remove useless documentation

* fix/union_all_panic: Add order by clause to UNION ALL select queries in tests
2024-10-11 08:23:01 +00:00

11 lines
196 B
Plaintext

SELECT 123 as a, 'h' as b UNION ALL SELECT 456 as a, 'e' as b UNION ALL SELECT 789 as a, 'l' as b order by a;
+-----+---+
| a | b |
+-----+---+
| 123 | h |
| 456 | e |
| 789 | l |
+-----+---+