Github user steven-qin commented on the issue:

    https://github.com/apache/carbondata/pull/1235
  
    Hi @anubhav100 
    Based on the commit "69c634c5f32dfc333919d0b3e6cc342e15638cf7",I find the 
problem and subsequent versions have been fixed it.
    
    git checkout -b  pre  69c634c5f32dfc333919d0b3e6cc342e15638cf7
    
    mvn -DskipTests -Pspark-2.1 -Dspark.version=2.1.0 clean package
    
    create statemant: carbon.sql("create table nation ( n_nationkey int, n_name 
string, n_regionkey int, n_comment string ) stored by 'carbondata'")
    
    load statemant: carbon.sql("LOAD DATA INPATH 
'/viphome/qr/testdata/nation_null.csv' INTO TABLE nation  
OPTIONS('DELIMITER'='\u0001')")
    
    sql: select * from nation where n_comment is null;
         select * from nation where n_comment is not null;
    
![not_null_clause](https://user-images.githubusercontent.com/15090715/29406335-4fdbdccc-8373-11e7-9692-873d1939224b.jpg)
    
    
    
![null_clause](https://user-images.githubusercontent.com/15090715/29406240-0d07f6ce-8373-11e7-8e03-61968a85c437.jpg)
    
    



---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to