Describe the bug
This test case:
query R
SELECT a + 2 FROM (SELECT CAST(a::INT AS DECIMAL(14,2)) FROM test) ORDER BY 1;
----
Fails with this error:
Error source: query failed: Cannot clone arrays with different data types
self: Decimal64(15,2)
other: Decimal64(16,2)
|
# TODO: Error source: query failed: Cannot clone arrays with different data types |
|
# self: Decimal64(15,2) |
|
# other: Decimal64(16,2) |
|
# query R |
|
# SELECT a + 2 FROM (SELECT CAST(a::INT AS DECIMAL(14,2)) FROM test) ORDER BY 1; |
|
# ---- |
To Reproduce
See test case
Expected behavior
No error, and produce correct results
Describe the bug
This test case:
Fails with this error:
glaredb/slt/standard/cast/reference_through_cast.slt
Lines 61 to 66 in c0db56c
To Reproduce
See test case
Expected behavior
No error, and produce correct results