Open aditi-pandit opened 3 months ago
Presto UUID is typically stored with VARCHAR or VARBINARY with Hive metastore and is accessed so in Dwrf/Parquet readers. VARBINARY is a more compact representation than VARCHAR. But UUID can't be cast from and to it today.
This is supported in Presto Java https://github.com/prestodb/presto/blob/master/presto-main/src/main/java/com/facebook/presto/type/UuidOperators.java#L155
SQL failure https://github.com/prestodb/presto/pull/23301/files#r1693439871
@aditi-pandit, does anyone take this first good issue? If no, I will try to take this ticket to start contribution.
HI @SteNicholas, Sure. Feel free to take this ticket. Assigned it to you.
Description
Presto UUID is typically stored with VARCHAR or VARBINARY with Hive metastore and is accessed so in Dwrf/Parquet readers. VARBINARY is a more compact representation than VARCHAR. But UUID can't be cast from and to it today.
This is supported in Presto Java https://github.com/prestodb/presto/blob/master/presto-main/src/main/java/com/facebook/presto/type/UuidOperators.java#L155
SQL failure https://github.com/prestodb/presto/pull/23301/files#r1693439871