Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-920

errors while executing create table examples from docs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • docs
    • None
    • spark 2.1

    Description

      Examples for creating table in docs throw error while execution(docs/useful-tips-on-carbondata.md)

      Steps to reproduce:
      1. run query from examples to create table
      create table carbondata_table(
      Dime_1 String,
      HOST String,
      MSISDN String,
      counter_1 double,
      counter_2 double,
      BEGIN_TIME bigint,
      counter_100 double
      )STORED BY 'org.apache.carbondata.format'
      TBLPROPERTIES ( 'DICTIONARY_EXCLUDE'='MSISDN,HOST,IMSI',
      'DICTIONARY_INCLUDE'='Dime_1,END_TIME,BEGIN_TIME');

      output on beeline:
      Error: org.apache.carbondata.spark.exception.MalformedCarbonCommandException: DICTIONARY_EXCLUDE column: imsi does not exist in table. Please check create table statement. (state=,code=0)

      Expected result :
      It should create table successfully.

      Attachments

        Issue Links

          Activity

            People

              Vandana7 Vandana Yadav
              Vandana7 Vandana Yadav
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h