You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2016/06/17 13:24:05 UTC

[jira] [Created] (FLINK-4086) Hide internal Expression methods from Table API

Fabian Hueske created FLINK-4086:
------------------------------------

             Summary: Hide internal Expression methods from Table API
                 Key: FLINK-4086
                 URL: https://issues.apache.org/jira/browse/FLINK-4086
             Project: Flink
          Issue Type: Improvement
          Components: Table API & SQL
    Affects Versions: 1.1.0
            Reporter: Fabian Hueske
            Assignee: Fabian Hueske
             Fix For: 1.1.0


Internal methods are accessible from the Table API expressions.

For instance it is possible to call:

{code}
val table: Table = ???
table.select('name.toRexNode(), ('age + 10).validateInput())
{code}

We should hide internal methods like {{toRexNode()}} and {{validateInput()}} from the API.

I propose to restrict access to this methods to objects in the {{org.apache.flink}} name space via a {{private\[flink\]}} access modifier.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)