You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by jatin9896 <gi...@git.apache.org> on 2018/07/17 05:21:25 UTC

[GitHub] carbondata pull request #2507: [CABONDATA-2741]Fix for filling measure colum...

Github user jatin9896 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2507#discussion_r202897146
  
    --- Diff: integration/spark2/src/test/scala/org/apache/spark/carbondata/restructure/AlterTableValidationTestCase.scala ---
    @@ -709,6 +710,18 @@ test("test alter command for boolean data type with correct default measure valu
           Seq(Row(1))
         )
       }
    +
    +  test("Alter table selection in random order"){
    +    sql("create table restructure_random_select (imei string,channelsId string,gamePointId double,deviceInformationId double," +
    +        " deliverycharge double) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES('table_blocksize'='2000','sort_columns'='imei')")
    +    sql("insert into restructure_random_select values('abc','def',50.5,30.2,40.6) ")
    +    sql("Alter table restructure_random_select add columns (age int,name String)")
    +    checkAnswer(
    +      sql("select gamePointId,deviceInformationId,age,name from restructure_random_select where name is NULL or channelsId=4"),
    --- End diff --
    
    did the required changes in core.


---