You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by kalyanhadooptraining <gi...@git.apache.org> on 2016/12/14 07:31:16 UTC

[GitHub] phoenix pull request #225: V4.7.0 h base 1.1

GitHub user kalyanhadooptraining opened a pull request:

    https://github.com/apache/phoenix/pull/225

    V4.7.0 h base 1.1

    

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

    $ git pull https://github.com/kalyanhadooptraining/phoenix v4.7.0-HBase-1.1

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

    https://github.com/apache/phoenix/pull/225.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 #225
    
----
commit ee82ff1a7b98c018f85d709c71f4a864e7f0e80a
Author: kalyan <ka...@gmail.com>
Date:   2016-08-01T13:37:03Z

    PHOENIX-2084 : Support loading json data using apache phoenix flume
    plugin
    
    Adding new feature to existing PhoenixSink.
    Convert Json Data to Phoenix Table Data
    
    It supports array data type also with proper `jsonpath`
    
    Note:
    
    // mandatory properties
    phoenix-agent.sinks.phoenixsink.serializer = json
    phoenix-agent.sinks.phoenixsink.serializer.columns=c1,c2,c3,c4
    
    // optional properties with sample data
    phoenix-agent.sinks.phoenixsink.serializer.partialSchema = true
    
    // {"c1":"kalyan", "c2":1, "c3":2012, "c4":"phoenix"}
    phoenix-agent.sinks.phoenixsink.serializer.columnsMapping = {"c1":"c1",
    "c2":"c2", "c3":"c3", "c4":"c4"}
    
    // {"f1":"kalyan", "f2":1, "f3":2012, "f4":"phoenix"}
    phoenix-agent.sinks.phoenixsink.serializer.columnsMapping = {"c1":"f1",
    "c2":"f2", "c3":"f3", "c4":"f4"}
    
    // {"c1":"kalyan", "c2":1, "a": {"b":2012}, "x":{"y":"phoenix"}}
    phoenix-agent.sinks.phoenixsink.serializer.columnsMapping = {"c1":"c1",
    "c2":"c2", "c3":"a.b", "c4":"x.y"}
    
    // {"c1":"kalyan", "c2":1, "a": {"b":2012}, "x":{"y": [{"z" :
    "phoenix"}, {"z" : "flume"}] }}
    phoenix-agent.sinks.phoenixsink.serializer.columnsMapping = {"c1":"c1",
    "c2":"c2", "c3":"a.b", "c4":"x.y[*].z"}

commit b596f6c824fa1ab1cd27c67c4dd079cb6b589feb
Author: Kalyan Hadoop <ka...@gmail.com>
Date:   2016-12-14T07:29:50Z

    REGEX Support for Phoenix Mapreduce Util

----


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