hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tzolov <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-178: Add JSON plugin support in ...
Date Fri, 05 Feb 2016 22:20:51 GMT
Github user tzolov commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/302#discussion_r52080654
  
    --- Diff: pxf/pxf-service/src/main/resources/pxf-profiles-default.xml ---
    @@ -128,4 +128,13 @@ under the License.
                 <resolver>org.apache.hawq.pxf.plugins.gemfirexd.GemFireXDResolver</resolver>
             </plugins>
         </profile>
    +    <profile>
    +        <name>Json</name>
    +        <description>A profile for JSON data, one JSON record per line</description>
    --- End diff --
    
    Thanks for spotting this @GodenYao! Just fixed it
    
    P.S. as an experiment i've implemented a Json Resolver that leverages [JsonPath](https://github.com/jayway/JsonPath).
It allows you to  traverse arbitrary complex json records. (current expression mechanism is
quite limited). But this an experimental work and we should leave a possible future improvement.
Perhaps as an additional 3rd mode -  the most flexible but potentially slowest. 


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

Mime
View raw message