Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-12798 Port TableEnvironment to flink-api modules
  3. FLINK-12799

Improve expression based TableSchema extraction from DataStream/DataSet

    XMLWordPrintableJSON

Details

    Description

      We should improve the extraction of TableSchema from DataStream/DataSet. Currently it is split into a few stages:

      1. Extract types ignoring time attributes via FieldInfoUtils#getFieldInfo
      2. Extract the rowtime and proctime positions via StreamTableEnvImpl#validateAndExtractTimeAttributes
      3. Adjust the indices from #1 using information from #2

      All that could happen in a single pass. This will also deal with the porting/removing of a few methods from StreamTableEnvImpl.

      Attachments

        Issue Links

          Activity

            People

              dwysakowicz Dawid Wysakowicz
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m