flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5441) Directly allow SQL queries on a Table
Date Wed, 22 Feb 2017 08:57:44 GMT

    [ https://issues.apache.org/jira/browse/FLINK-5441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15877802#comment-15877802

ASF GitHub Bot commented on FLINK-5441:

Github user twalthr commented on the issue:

    @wuchong if `toString` is called for the first time. It calls `tEnv.registerTableInternal(this)`
which uses an atomic counter and generates a unique identifier such as `UnnamedTable$232`.
This identifier is returned and saved in the table. Every further call of toString return
this identifier.

> Directly allow SQL queries on a Table
> -------------------------------------
>                 Key: FLINK-5441
>                 URL: https://issues.apache.org/jira/browse/FLINK-5441
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API & SQL
>            Reporter: Timo Walther
>            Assignee: Jark Wu
> Right now a user has to register a table before it can be used in SQL queries. In order
to allow more fluent programming we propose calling SQL directly on a table. An underscore
can be used to reference the current table:
> {code}
> myTable.sql("SELECT a, b, c FROM _ WHERE d = 12")
> {code}

This message was sent by Atlassian JIRA

View raw message