Timo Walther created FLINK-3891:
-----------------------------------

             Summary: Add a class containing all supported Table API types
                 Key: FLINK-3891
                 URL: https://issues.apache.org/jira/browse/FLINK-3891
             Project: Flink
          Issue Type: Improvement
          Components: Table API
            Reporter: Timo Walther
            Assignee: Timo Walther
            Priority: Minor


In order to make working with the Table API easier. It would be great to have a 
class that contains the supported types.

Such that an expression could look like:
{code}
.select(42.cast(TableType.INT), 43.cast(TableType.DECIMAL))
{code}

The constants would map to the original TypeInformation object (in 
BasicTypeInfo, SqlTimeTypeInfo, etc.).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to