Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14485 Support for Temporary Objects in Table module
  3. FLINK-14490

Add methods for interacting with temporary tables & views

    XMLWordPrintableJSON

Details

    • Hide
      Methods such as registerTable/registerDataStream/registerDataSet become deprecated in favor of createTemporaryView which better adhere to the corresponding SQL term.

      Scan method becomes deprecated in favor of from method.

      Methods registerTableSource/registerTableSink become deprecated in favor of ConnectTableDescriptor#createTemporaryTable. That method expects only a set of string properties as a description of a TableSource or TableSinks instead of an instance of a class in case of the deprecated methods. This in return make it possible to reliably store those definitions in catalogs.

      Methods insertInto(String path, String... pathContinued was removed in favor of in insertInto(String path).

      All the newly introduced methods accept a String identifier which will be parsed into a 3-part identifier. The parser supports quoting the identifier. It also requires escaping any reserved SQL keywords.
      Show
      Methods such as registerTable/registerDataStream/registerDataSet become deprecated in favor of createTemporaryView which better adhere to the corresponding SQL term. Scan method becomes deprecated in favor of from method. Methods registerTableSource/registerTableSink become deprecated in favor of ConnectTableDescriptor#createTemporaryTable. That method expects only a set of string properties as a description of a TableSource or TableSinks instead of an instance of a class in case of the deprecated methods. This in return make it possible to reliably store those definitions in catalogs. Methods insertInto(String path, String... pathContinued was removed in favor of in insertInto(String path). All the newly introduced methods accept a String identifier which will be parsed into a 3-part identifier. The parser supports quoting the identifier. It also requires escaping any reserved SQL keywords.

    Description

      Implement changes to Java/Scala APIs mentioned in the FLIP

      Attachments

        Issue Links

          Activity

            People

              dwysakowicz Dawid Wysakowicz
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 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