commit | 84e3297332fb8a14e5bdb94806de36f44395a54c | [log] [tgz] |
---|---|---|
author | Jacky Li <jacky.likun@qq.com> | Wed Mar 18 13:06:04 2020 +0800 |
committer | ajantha-bhat <ajanthabhat@gmail.com> | Sat Apr 11 17:39:48 2020 +0530 |
tree | 0c4ac9720ecbb8ffb28c60fc08122addfea451fa | |
parent | 24d2fdfc2b518c114f70d6fabcf56becc4af7245 [diff] |
[CARBONDATA-3736] Support show segment by query Why is this PR needed? There are many fields in segment that not shown in SHOW SEGMENTS command. What changes were proposed in this PR? This PR change SHOW SEGMENTS command to: SHOW [HISTORY] SEGMENTS [FOR TABLE | ON] [db_name.]table_name [AS select_query] User can query the segments as it is a table. A sample output as following: show segments on source as select id, status, dataSize from source_segments where status = 'Success' order by dataSize +------------------------+ |output | +------------------------+ |id | status | dataSize| |4.1 | Success | 1762 | |0.2 | Success | 3524 | +------------------------+ Does this PR introduce any user interface change? Yes Is any new testcase added? Yes This closes #3657
Apache CarbonData is an indexed columnar data store solution for fast analytics on big data platform, e.g.Apache Hadoop, Apache Spark, etc.
You can find the latest CarbonData document and learn more at: http://carbondata.apache.org
CarbonData file format is a columnar store in HDFS, it has many features that a modern columnar format has, such as splittable, compression schema ,complex data type etc, and CarbonData has following unique features:
CarbonData is built using Apache Maven, to build CarbonData
This is an active open source project for everyone, and we are always open to people who want to use this system or contribute to it. This guide document introduce how to contribute to CarbonData.
To get involved in CarbonData:
Apache CarbonData is an open source project of The Apache Software Foundation (ASF).