Github user linqer commented on the issue:

    https://github.com/apache/carbondata/pull/1234
  
    # 1. The latest master code have this issue:
    
    
![latestcode](https://user-images.githubusercontent.com/2104057/29442563-f546ed3c-8404-11e7-9abb-8cddfafac9a5.png)
    
    `create statement: carbon.sql("create table nation ( n_nationkey int, 
n_name string, n_regionkey int, n_comment string ) stored by 'carbondata'")`
    
    `load statement: carbon.sql("LOAD DATA INPATH 
'/viphome/qr/testdata/nation_null.csv' INTO TABLE nation  
OPTIONS('DELIMITER'='\u0001')")`
    
    **//Note: "select * from nation " is ok;  but " select * from nation where 
n_name='INDIA' throws exception**
    `sql: select * from nation where n_name='INDIA'; `
    
    
![image](https://user-images.githubusercontent.com/2104057/29442574-0640e480-8405-11e7-833f-61149019a60e.png)
    
![image](https://user-images.githubusercontent.com/2104057/29442579-0ec4ce78-8405-11e7-8989-be7a907623bb.png)
    
    # 2. pr-1234 can fix this issue
    `git fetch origin pull/1234/head:pr-1234`
    
    `sql: select * from nation where n_name='INDIA`
    
![image](https://user-images.githubusercontent.com/2104057/29442610-42cce89a-8405-11e7-8aea-ab9146241d23.png)
    
    



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