carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rahulforallp <...@git.apache.org>
Subject [GitHub] carbondata issue #977: [CARBONDATA-1097] describe formatted query supported ...
Date Wed, 31 May 2017 11:22:56 GMT
Github user rahulforallp commented on the issue:

    https://github.com/apache/carbondata/pull/977
  
    @kumarvishal09 
    my query was  was : 
    
    > spark.sql(
          s"""
             | CREATE TABLE carbon_table(
             | shortField SHORT,
             | intField INT,
             | bigintField LONG,
             | doubleField DOUBLE,
             | stringField STRING,
             | timestampField TIMESTAMP,
             | decimalField DECIMAL(18,2),
             | dateField DATE,
             | charField CHAR(5),
             | floatField FLOAT,
             | complexData ARRAY<STRING>
             | )
             | STORED BY 'carbondata'
             | TBLPROPERTIES('NO_INVERTED_INDEX'='stringField,timestampField', 'DICTIONARY_INCLUDE'='dateField,
charField')
           """.stripMargin)
    
        spark.sql("describe formatted carbon_table").show()
    
    ![image](https://cloud.githubusercontent.com/assets/14244942/26629728/5230b09a-4621-11e7-9033-ac2aea0245b2.png)



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message