Hi dev: Now I am working on this, the new format is shown in attachment, please give me some feedback. There is one question: if user uses CTAS to create table, do we need to show the 'select sql' in the result of 'desc formatted table'? If yes, how to get 'select sql'? now I just can get a non-formatted sql from 'CarbonSparkSqlParser.scala' (Jacky mentioned), for example:
*CREATE TABLE IF NOT EXISTS test_table STORED BY 'carbondata' TBLPROPERTIES( 'streaming'='false', 'sort_columns'='id,city', 'dictionary_include'='name') AS SELECT * from source_test ;* The non-formatted sql I get is : *SELECT*fromsource_test* desc_formatted.txt <http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/file/t133/desc_formatted.txt> desc_formatted_external.txt <http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/file/t133/desc_formatted_external.txt> -- Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/