Arnab Karmakar has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24817 )

Change subject: IMPALA-15202: Add explicit CAST support between UUID and STRING
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24817/2/testdata/workloads/functional-query/queries/QueryTest/iceberg-uuid-type.test
File 
testdata/workloads/functional-query/queries/QueryTest/iceberg-uuid-type.test:

http://gerrit.cloudera.org:8080/#/c/24817/2/testdata/workloads/functional-query/queries/QueryTest/iceberg-uuid-type.test@475
PS2, Line 475: CAST(uuid_col AS CHAR(36))
> What happens for CAST(uuid_col AS CHAR(30)), or CAST(uuid_col AS CHAR(40))?
Nice observation. Tried this out and since UUID is cast to CHAR in two steps, 
first it produces the canonical 36-character form and then CastToChar truncates 
or right-pads with spaces.



--
To view, visit http://gerrit.cloudera.org:8080/24817
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I51af55c6e343f7155cae22bf3714e293f31561d5
Gerrit-Change-Number: 24817
Gerrit-PatchSet: 2
Gerrit-Owner: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Wed, 16 Sep 2026 15:37:23 +0000
Gerrit-HasComments: Yes

Reply via email to