[ https://issues.apache.org/jira/browse/CARBONDATA-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vandana Yadav closed CARBONDATA-980. ------------------------------------ This issue has been resolved and PR is also merged > Result does not displays while using not null operator in presto integration. > ----------------------------------------------------------------------------- > > Key: CARBONDATA-980 > URL: https://issues.apache.org/jira/browse/CARBONDATA-980 > Project: CarbonData > Issue Type: Bug > Affects Versions: 1.1.0 > Environment: spark 2.1, presto 0.166 > Reporter: Vandana Yadav > Assignee: Jatin > Priority: Minor > Fix For: 1.2.0 > > Attachments: 2000_UniqData.csv > > Time Spent: 1h 10m > Remaining Estimate: 0h > > Result does not displays while using not null operator in presto integration. > Steps to reproduce : > 1. In CarbonData: > a) Create table: > CREATE TABLE uniqdata (CUST_ID int,CUST_NAME String,ACTIVE_EMUI_VERSION > string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 > bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 > decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double,INTEGER_COLUMN1 > int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES > ("TABLE_BLOCKSIZE"= "256 MB"); > b) Load data : > LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' into table > uniqdata OPTIONS('DELIMITER'=',' , > 'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); > 2. In presto > a) Execute the query: > select CUST_ID from uniqdata where CUST_ID IS NOT NULL order by CUST_ID > Expected result:it should display all not null values from the table. > Actual Result: > In CarbonData: > "| 10994 | > | 10995 | > | 10996 | > | 10997 | > | 10998 | > +----------+--+ > | CUST_ID | > +----------+--+ > | 10999 | > +----------+--+ > 2,001 rows selected (0.701 seconds) > " > In presto: > "Query 20170420_073851_00038_hd7jy failed: null > " -- This message was sent by Atlassian JIRA (v6.4.14#64029)