Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.16.1, 1.15.4
-
None
Description
select CAST(commissions AS ARRAY<ROW<amount DOUBLE>>) as commissions from (select ARRAY[ROW(123), ROW(234)] commissions)
Expected output:
+----+--------------------------------+ | op | commissions | +----+--------------------------------+ | +I | [(123.0), (234.0)] | +----+--------------------------------+
Actual output:
+----+--------------------------------+ | op | commissions | +----+--------------------------------+ | +I | [(234.0), (234.0)] | +----+--------------------------------+
Full working example: https://gist.github.com/soin08/5e0038dbefeba9192706e05a78ef3bc1
Attachments
Attachments
Issue Links
- duplicates
-
FLINK-32296 Flink SQL handle array of row incorrectly
- Resolved
- links to