Github user anubhav100 commented on the issue:

    https://github.com/apache/carbondata/pull/1660
  
    @sounakr when i try  to reproduce the CARBONDATA-1728 
    
    using this script
    
    spark.sql("DROP TABLE IF EXISTS ORDERS")
    
        spark.sql("DROP TABLE IF EXISTS H_ORDERS")
    
        spark.sql("create table if not exists ORDERS(O_ORDERDATE 
string,O_ORDERPRIORITY string,O_ORDERSTATUS string,O_ORDERKEY string,O_CUSTKEY 
string,O_TOTALPRICE double,O_CLERK string,O_SHIPPRIORITY int,O_COMMENT string) 
STORED BY 'org.apache.carbondata.format'")
    
        spark.sql("load data inpath \"hdfs://localhost:54311/orders.csv\" into 
table ORDERS 
options('DELIMITER'='|','FILEHEADER'='O_ORDERKEY,O_CUSTKEY,O_ORDERSTATUS,O_TOTALPRICE,O_ORDERDATE,O_ORDERPRIORITY,O_CLERK,O_SHIPPRIORITY,O_COMMENT')")
    
        spark.sql(" create table h_orders as select * from orders").show()
    
        spark.sql("Delete from orders a where exists (select 1 from h_orders b 
where b.o_ORDERKEY=a.O_ORDERKEY)")
    
    spark.sql("SELECT O_COMMENT FROM ORDERS").show()
    
    here are errors
    17/12/15 15:47:19 ERROR DeleteExecution$: Executor task launch worker-2 
Multiple input rows matched for same row.
    17/12/15 15:47:20 AUDIT DeleteExecution$: 
[anubhav-Vostro-3559][anubhav][Thread-1]Delete data operation is failed for 
default.orders
    17/12/15 15:47:20 ERROR DeleteExecution$: main Delete data operation is 
failed due to failure in creating delete delta file for segment : null block : 
null


---

Reply via email to