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

    https://github.com/apache/carbondata/pull/1650#discussion_r158826908
  
    --- Diff: 
integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/detailquery/ExpressionWithNullTestCase.scala
 ---
    @@ -75,6 +78,9 @@ class ExpressionWithNullTestCase extends QueryTest with 
BeforeAndAfterAll {
         checkAnswer(sql("select * from expression_test where id not in 
('2')"), sql("select * from expression_test_hive where id not in ('2')"))
         checkAnswer(sql("select * from expression_test where id not in 
(cast('2' as int))"), sql("select * from expression_test_hive where id not in 
(cast('2' as int))"))
     //    checkAnswer(sql("select * from expression_test where id not in 
(cast('null' as int))"), sql("select * from expression_test_hive where id not 
in (cast('null' as int))"))
    +    checkAnswer(sql("select * from expression_test where id not in 
(1,2,NULL)"), sql("select * from expression_test_hive where id not in 
(1,2,NULL)"))
    +    checkAnswer(sql("select * from expression_test where id not in 
(NULL)"), sql("select * from expression_test_hive where id not in (NULL)"))
    --- End diff --
    
    Please add some more test cases with explicit cast and with Nulls 


---

Reply via email to