You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2020/01/21 16:57:00 UTC

[jira] [Updated] (FLINK-14490) Add methods for interacting with temporary tables & views

     [ https://issues.apache.org/jira/browse/FLINK-14490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Wysakowicz updated FLINK-14490:
-------------------------------------
    Release Note: 
Methods such as registerTable/registerDataStream/registerDataSet become deprecated in favor of createTemporaryView which better describe the SQL objects.

Scan method becomes deprecated in favor of from method.

Methods registerTableSource/registerTableSink become deprecated in favor of ConnectTableDescriptor#registerTemporaryTable. 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.

  was:
Methods such as registerTable/registerDataStream/registerDataSet become deprecated in favor of createTemporaryView which better describe the SQL objects.

Scan method becomes deprecated in favor of from method.

Methods registerTableSource/registerTableSink become deprecated in favor of ConnectTableDescriptor#registerTemporaryTable. This allow registering the TableSource/Sink persistently in catalogs. It also separates more cleanly the physical implementation of a TableSource from its logical description.

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.


> Add methods for interacting with temporary tables & views
> ---------------------------------------------------------
>
>                 Key: FLINK-14490
>                 URL: https://issues.apache.org/jira/browse/FLINK-14490
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / API, Table SQL / Legacy Planner, Table SQL / Planner
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Implement changes to Java/Scala APIs mentioned in the FLIP



--
This message was sent by Atlassian Jira
(v8.3.4#803005)