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.


---

Reply via email to