You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by jackylk <gi...@git.apache.org> on 2018/09/17 16:47:42 UTC
[GitHub] carbondata pull request #2731: [CARBONDATA-2945] Support ingest JSON record ...
GitHub user jackylk opened a pull request:
https://github.com/apache/carbondata/pull/2731
[CARBONDATA-2945] Support ingest JSON record in StreamSQL
Support ingest JSON record from Kafka/socket stream source in StreamSQL
A tblproperty called "record_format" is added, for example, following creates a stream source table on kafka whose record format is json
```
CREATE TABLE source (
id INT,
name STRING,
city STRING,
salary FLOAT,
file struct<school:array<string>, age:int>
)
STORED AS carbondata
TBLPROPERTIES(
'streaming'='source',
'format'='kafka',
'kafka.bootstrap.servers'='localhost:9092',
'subscribe'='test',
'record_format'='json' // can be csv or json
)
```
- [X] Any interfaces changed?
No
- [X] Any backward compatibility impacted?
No
- [X] Document update required?
Yes
- [X] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
- [X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jackylk/incubator-carbondata json
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2731.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 #2731
----
commit d9e105a448184ffd1c4ba47ca5bfb842f5009f71
Author: Jacky Li <ja...@...>
Date: 2018-09-17T16:27:57Z
support json format in StreamSQL
----
---
[GitHub] carbondata issue #2731: [CARBONDATA-2945] Support ingest JSON record using S...
Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2731
Build Failed with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/8564/
---
[GitHub] carbondata pull request #2731: [CARBONDATA-2945] Support ingest JSON record ...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/carbondata/pull/2731
---
[GitHub] carbondata issue #2731: [CARBONDATA-2945] Support ingest JSON record using S...
Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2731
Build Success with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/506/
---
[GitHub] carbondata issue #2731: [CARBONDATA-2945] Support ingest JSON record using S...
Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2731
Build Failed with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/494/
---
[GitHub] carbondata issue #2731: [CARBONDATA-2945] Support ingest JSON record using S...
Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2731
Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/318/
---
[GitHub] carbondata issue #2731: [CARBONDATA-2945] Support ingest JSON record using S...
Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2731
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/329/
---
[GitHub] carbondata issue #2731: [CARBONDATA-2945] Support ingest JSON record using S...
Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2731
Build Success with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/8576/
---