carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jatin (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CARBONDATA-982) Incorrect result displays while using not in clause in presto integration
Date Fri, 23 Jun 2017 12:04:00 GMT

     [ https://issues.apache.org/jira/browse/CARBONDATA-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jatin reassigned CARBONDATA-982:
--------------------------------

    Assignee: Jatin

> Incorrect result displays while using not in clause in presto integration
> -------------------------------------------------------------------------
>
>                 Key: CARBONDATA-982
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-982
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-query, presto-integration
>    Affects Versions: 1.1.0
>         Environment: spark 2.1, Presto 0.166
>            Reporter: Vandana Yadav
>            Assignee: Jatin
>            Priority: Minor
>         Attachments: 2000_UniqData.csv
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Incorrect result displays while using not in clause 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 not in (9137,10137,14137);
> Expected result: it should display all the cust_id except 9137 and 10137.
> Actual Result:
> In Carbondata:
> | 10995    |
> | 10996    |
> | 10997    |
> | 10998    |
> | 10999    |
> +----------+--+
> 2,011 rows selected (0.257 seconds)
>  In presto:
>  CUST_ID 
> ---------
> (0 rows)
> Query 20170425_055652_00006_a4za4, FINISHED, 1 node
> Splits: 17 total, 17 done (100.00%)
> 0:00 [0 rows, 0B] [0 rows/s, 0B/s]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message