Dawid Wysakowicz created FLINK-17151:
----------------------------------------

             Summary: Align Calcite's and Flink's SYMBOL types
                 Key: FLINK-17151
                 URL: https://issues.apache.org/jira/browse/FLINK-17151
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
            Reporter: Dawid Wysakowicz


Flink's `SymbolType` stores the class of the symbol. Calcite does not. When 
converting from Flink's to Calcite's type we are loosing that information. We 
should either remove that from the Flink's type or add it to Calcite's.

I am in favor of removing it from the {{SymbolType}}. This type is a pseudo 
type which can be used only for literals. The symbol class is already part of 
the corresponding value, therefore it is a redundant information in the type 
itself.

Initial discussion: 
https://github.com/apache/flink/pull/11694#discussion_r408058640



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to