GitHub user chenliang613 opened a pull request:
https://github.com/apache/carbondata/pull/1829 [CARBONDATA-2050] Add example of query data with specified segments Add example of query data with specified segments and also consider compaction sceanrios. Be sure to do all of the following checklist to help us incorporate your contribution quickly and easily: - [X] Any interfaces changed? NA - [X] Any backward compatibility impacted? NA - [X] Document update required? YES - [X] Testing done YES - [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/chenliang613/carbondata querysegment Alternatively you can review and apply these changes as the patch at: https://github.com/apache/carbondata/pull/1829.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 #1829 ---- commit f778c024802559dd06ea233a5244ca01ed1c5530 Author: chenliang613 <chenliang613@...> Date: 2018-01-18T07:50:23Z [CARBONDATA-2050] Add example of query data with specified segments ---- --- |
Github user QiangCai commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1829#discussion_r162285426 --- Diff: docs/data-management-on-carbondata.md --- @@ -781,59 +781,39 @@ This tutorial is going to introduce all commands and data operations on CarbonDa ``` DELETE FROM TABLE CarbonDatabase.CarbonTable WHERE SEGMENT.STARTTIME BEFORE '2017-06-01 12:05:06' ``` -### SEGMENT READING + +### QUERY DATA WITH SPECIFIED SEGMENTS This command is used to read data from specified segments during CarbonScan. - Get the Segment ID: - ``` SHOW SEGMENTS FOR TABLE [db_name.]table_name LIMIT number_of_segments ``` - Set the segment IDs - + Set the segment IDs for table ``` - SET cabon.input.segments.<database_name>.<table_name> = <list of segment IDs>; + SET cabon.input.segments.<database_name>.<table_name> = <list of segment IDs> --- End diff -- cabon => carbon --- |
In reply to this post by qiuchenjian-2
Github user QiangCai commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1829#discussion_r162286735 --- Diff: docs/data-management-on-carbondata.md --- @@ -781,59 +781,39 @@ This tutorial is going to introduce all commands and data operations on CarbonDa ``` DELETE FROM TABLE CarbonDatabase.CarbonTable WHERE SEGMENT.STARTTIME BEFORE '2017-06-01 12:05:06' ``` -### SEGMENT READING + +### QUERY DATA WITH SPECIFIED SEGMENTS This command is used to read data from specified segments during CarbonScan. - Get the Segment ID: - ``` SHOW SEGMENTS FOR TABLE [db_name.]table_name LIMIT number_of_segments ``` - Set the segment IDs - + Set the segment IDs for table ``` - SET cabon.input.segments.<database_name>.<table_name> = <list of segment IDs>; + SET cabon.input.segments.<database_name>.<table_name> = <list of segment IDs> --- End diff -- please fix all typo in this file. --- |
In reply to this post by qiuchenjian-2
Github user QiangCai commented on the issue:
https://github.com/apache/carbondata/pull/1829 LGTM --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1829 Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1706/ --- |
In reply to this post by qiuchenjian-2
|
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/1829 Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/2941/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/1829 SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/2972/ --- |
Free forum by Nabble | Edit this page |