You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Kunal Kapoor (JIRA)" <ji...@apache.org> on 2018/07/24 11:36:00 UTC
[jira] [Updated] (CARBONDATA-2778) Empty result in query after IUD
delete operation
[ https://issues.apache.org/jira/browse/CARBONDATA-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kunal Kapoor updated CARBONDATA-2778:
-------------------------------------
Description:
# drop table if exists t1
# create table t1 (c1 int,c2 string) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES('table_blocksize'='1', 'dictionary_exclude'='c2')
# LOAD DATA LOCAL INPATH 'test.csv' INTO table t1 options('fileheader'='c1,c2')
# run delete command which should delete a whole block
# Run clean file operation.
# select from t1.
**NOTE**: Disable mergeindex property
was:
# drop table if exists t1
# create table t1 (c1 int,c2 string) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES('table_blocksize'='1', 'dictionary_exclude'='c2')
# LOAD DATA LOCAL INPATH 'test.csv' INTO table t1 options('fileheader'='c1,c2')
# run delete command which should delete a whole block
# Run clean file operation.
# select from t1.
> Empty result in query after IUD delete operation
> ------------------------------------------------
>
> Key: CARBONDATA-2778
> URL: https://issues.apache.org/jira/browse/CARBONDATA-2778
> Project: CarbonData
> Issue Type: Bug
> Reporter: Kunal Kapoor
> Assignee: Kunal Kapoor
> Priority: Major
>
> # drop table if exists t1
> # create table t1 (c1 int,c2 string) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES('table_blocksize'='1', 'dictionary_exclude'='c2')
> # LOAD DATA LOCAL INPATH 'test.csv' INTO table t1 options('fileheader'='c1,c2')
> # run delete command which should delete a whole block
> # Run clean file operation.
> # select from t1.
>
> **NOTE**: Disable mergeindex property
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)