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-4086) Hide internal Expression methods from Table API
Date Fri, 17 Jun 2016 13:32:05 GMT

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

ASF GitHub Bot commented on FLINK-4086:

GitHub user fhueske opened a pull request:


    [FLINK-4086] [tableAPI] Hide internal methods of Expressions from Table API.

    Added the `private[flink]` access modifier to all internal methods of `Expressions`

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/fhueske/flink tableInternalExpr

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2126
commit d36ea15aedeba8913fc4b289d2fbcecce20a01a7
Author: Fabian Hueske <fhueske@apache.org>
Date:   2016-06-17T13:16:42Z

    [FLINK-4086] [tableAPI] Hide internal methods of Expressions from Table API.


> 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
> 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

View raw message