Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3891

Add a class containing all supported Table API types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • Table SQL / API
    • None

    Description

      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:

      .select(42.cast(TableType.INT), 43.cast(TableType.DECIMAL))
      

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

      Attachments

        Issue Links

          Activity

            People

              twalthr Timo Walther
              twalthr Timo Walther
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: