carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mayunSaicmotor <...@git.apache.org>
Subject [GitHub] carbondata pull request #1186: [WIP]Merge test code for AddColumnTestCases, ...
Date Wed, 19 Jul 2017 14:57:09 GMT
Github user mayunSaicmotor commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1186#discussion_r128272093
  
    --- Diff: integration/spark2/src/test/scala/org/apache/spark/carbondata/restructure/vectorreader/AddColumnTestCases.scala
---
    @@ -42,26 +43,55 @@ class AddColumnTestCases extends Spark2QueryTest with BeforeAndAfterAll
{
           "('DICTIONARY_EXCLUDE'='charField', 'DEFAULT.VALUE.charfield'='def')")
         sql(s"LOAD DATA LOCAL INPATH '$resourcesPath/restructure/data1.csv' INTO TABLE addcolumntest
" +
             s"options('FILEHEADER'='intField,stringField,charField,timestampField,decimalField')")
    +    sql("CREATE TABLE hivetable stored as parquet select * from addcolumntest")
       }
     
       test("test like query on new column") {
    +    sqlContext.setConf("carbon.enable.vector.reader", "true")
    --- End diff --
    
    true should means vector reader, false means row reader, actually it is the main difference
between the 2 test class packages which need to merge


---
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