You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by mushketyk <gi...@git.apache.org> on 2017/01/15 10:32:23 UTC

[GitHub] flink pull request #3124: [FLINK-5281] Extend KafkaJsonTableSources to suppo...

GitHub user mushketyk opened a pull request:

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

    [FLINK-5281] Extend KafkaJsonTableSources to support nested data

    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)
    
    - [x] 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
    
    - [x] 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
    
    
    I've added support for serialization and deserialization of nested Rows in Json serializer/deserializer. I tried not to change interfaces, but I wonder if would make sense to replace all `String[] fieldNames, TypeInformation<?>[] fieldTypes` pairs with `RowTypeInfo`. This will change the interface (but we are doing this anyway) but will make interfaces clearer and will help to avoid some code duplication.
    @fhueske, what do you think about this?

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

    $ git pull https://github.com/mushketyk/flink json-nested-table-source

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

    https://github.com/apache/flink/pull/3124.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 #3124
    
----
commit 3463919b94dd11796ad71d4983644322be38a209
Author: Ivan Mushketyk <iv...@gmail.com>
Date:   2017-01-14T14:33:51Z

    [FLINK-5281] Extend KafkaJsonTableSources to support nested data

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink issue #3124: [FLINK-5281] Extend KafkaJsonTableSources to support nest...

Posted by fhueske <gi...@git.apache.org>.
Github user fhueske commented on the issue:

    https://github.com/apache/flink/pull/3124
  
    Yes, it's still relevant. Actually, we are currently working on improving the ecosystem and usability of the Table API / SQL. So this PR might actually be looked at in near future.


---

[GitHub] flink pull request #3124: [FLINK-5281] Extend KafkaJsonTableSources to suppo...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---

[GitHub] flink issue #3124: [FLINK-5281] Extend KafkaJsonTableSources to support nest...

Posted by aljoscha <gi...@git.apache.org>.
Github user aljoscha commented on the issue:

    https://github.com/apache/flink/pull/3124
  
    @fhueske Is this PR (which has been open) for a while) still relevant for the current state of the Table API?


---

[GitHub] flink issue #3124: [FLINK-5281] Extend KafkaJsonTableSources to support nest...

Posted by fhueske <gi...@git.apache.org>.
Github user fhueske commented on the issue:

    https://github.com/apache/flink/pull/3124
  
    This PR can be closed. PR #5491 added a TableSource that supports nested JSON data.
    Thanks, Fabian


---