[
https://issues.apache.org/jira/browse/CARBONDATA-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585858#comment-16585858 ]
Zhichao Zhang commented on CARBONDATA-2595:
--------------------------------------------
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 sql:
{code:java}
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 ;{code}
The non-formatted sql I get is :
{code:java}
SELECT*fromsource_test{code}
any suggestion for this?
{code:java}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)