Open jerryshao opened 3 months ago
The issue discussed in #1761 is also something that needs to be considered for the universal type: the types in Gravitino have the same name as the types in the catalog, but they have different semantics.
Yeah, we need to have a complete solution to handle them all.
Here is the solution doc: https://docs.google.com/document/d/14GAFPzf6HZcEtFey8f6t387hh_oD_5S5ml-dvcH7xjA/edit?usp=sharing
What would you like to be improved?
With the supported catalogs increased, Gravitino will face a problem that current type system cannot cover all the scenarios, like unsigned types, UDTs. In the meantime, we need to support DDL, so we should cover all the types.
How should we improve?
So to handle this problem, we should:
We can refer to Substrait's type system (https://substrait.io/types/type_system/) to achieve our own.
CC @mchades @yuqi1129 @zhoukangcn