Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-5434

Remove unsupported project() transformation from Scala DataStream docs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.3.0
    • Fix Version/s: 1.2.0, 1.3.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      The Scala DataStream does not have a project() transformation, yet the docs include it as a supported operation.

        Issue Links

          Activity

          Hide
          gallenvara_bg GaoLun added a comment -

          Just remove from the doc as the following pr. Should we create another jira to support the operator for the scala data stream api ?

          Show
          gallenvara_bg GaoLun added a comment - Just remove from the doc as the following pr. Should we create another jira to support the operator for the scala data stream api ?
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user gallenvara opened a pull request:

          https://github.com/apache/flink/pull/3121

          FLINK-5434 Remove unsupported project() transformation from Scala DataStream docs.

          Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
          If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the [How To Contribute guide](http://flink.apache.org/how-to-contribute.html).
          In addition to going through the list, please provide a meaningful description of your changes.

          • [X] General
          • The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
          • The pull request addresses only one issue
          • Each commit in the PR has a meaningful commit message (including the JIRA id)
          • [ ] Documentation
          • Documentation has been added for new functionality
          • Old documentation affected by the pull request has been updated
          • JavaDoc for public methods has been added
          • [ ] Tests & Build
          • Functionality added by the pull request is covered by tests
          • `mvn clean verify` has been executed successfully locally or a Travis build has passed

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

          $ git pull https://github.com/gallenvara/flink flink-5434

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

          https://github.com/apache/flink/pull/3121.patch

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

          This closes #3121


          commit 370d48a94d3984cfc0461a8d2c256714be962018
          Author: gaolun.gl <gaolun.gl@alibaba-inc.com>
          Date: 2017-01-13T17:41:39Z

          Remove unsupported project() transformation from Scala DataStream docs.


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user gallenvara opened a pull request: https://github.com/apache/flink/pull/3121 FLINK-5434 Remove unsupported project() transformation from Scala DataStream docs. Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration. If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the [How To Contribute guide] ( http://flink.apache.org/how-to-contribute.html ). In addition to going through the list, please provide a meaningful description of your changes. [X] General The pull request references the related JIRA issue (" [FLINK-XXX] Jira title text") The pull request addresses only one issue Each commit in the PR has a meaningful commit message (including the JIRA id) [ ] Documentation Documentation has been added for new functionality Old documentation affected by the pull request has been updated JavaDoc for public methods has been added [ ] Tests & Build Functionality added by the pull request is covered by tests `mvn clean verify` has been executed successfully locally or a Travis build has passed You can merge this pull request into a Git repository by running: $ git pull https://github.com/gallenvara/flink flink-5434 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3121.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3121 commit 370d48a94d3984cfc0461a8d2c256714be962018 Author: gaolun.gl <gaolun.gl@alibaba-inc.com> Date: 2017-01-13T17:41:39Z Remove unsupported project() transformation from Scala DataStream docs.
          Hide
          fhueske Fabian Hueske added a comment -

          Hi GaoLun, projection was not added to the Scala API on purpose. The problem with project is that, it is not type-safe, i.e., the API cannot automatically infer the result type of project. Moreover, projects are super straightforward with Scala Lambda functions.

          Show
          fhueske Fabian Hueske added a comment - Hi GaoLun , projection was not added to the Scala API on purpose. The problem with project is that, it is not type-safe, i.e., the API cannot automatically infer the result type of project. Moreover, projects are super straightforward with Scala Lambda functions.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user zentol commented on the issue:

          https://github.com/apache/flink/pull/3121

          merging.

          Show
          githubbot ASF GitHub Bot added a comment - Github user zentol commented on the issue: https://github.com/apache/flink/pull/3121 merging.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user gallenvara closed the pull request at:

          https://github.com/apache/flink/pull/3121

          Show
          githubbot ASF GitHub Bot added a comment - Github user gallenvara closed the pull request at: https://github.com/apache/flink/pull/3121
          Hide
          Zentol Chesnay Schepler added a comment -

          master: a7437cca0eeeb636f839ecbc8e96ede64405ab1b
          1.2: ebf4443a87ec0a46cd821adc85187d9cb58ae992

          Show
          Zentol Chesnay Schepler added a comment - master: a7437cca0eeeb636f839ecbc8e96ede64405ab1b 1.2: ebf4443a87ec0a46cd821adc85187d9cb58ae992

            People

            • Assignee:
              gallenvara_bg GaoLun
              Reporter:
              vkalavri Vasia Kalavri
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development