flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3891) Add a class containing all supported Table API types
Date Tue, 10 May 2016 12:19:13 GMT
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)

Mime
View raw message