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