carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravindra Pesala (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CARBONDATA-837) Unable to delete records from carbondata table
Date Wed, 10 May 2017 07:21:04 GMT

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

Ravindra Pesala resolved CARBONDATA-837.
----------------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: 1.1.1)

Duplicate to
https://issues.apache.org/jira/browse/CARBONDATA-825

> Unable to delete records from carbondata table
> ----------------------------------------------
>
>                 Key: CARBONDATA-837
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-837
>             Project: CarbonData
>          Issue Type: Bug
>          Components: spark-integration
>    Affects Versions: 1.1.0
>         Environment: HDP 2.5, Spark 1.6.2
>            Reporter: Sanoj MG
>            Assignee: Sanoj MG
>            Priority: Minor
>
> As per below document I am trying to delete entries from the table :
> https://github.com/apache/incubator-carbondata/blob/master/docs/dml-operation-on-carbondata.md
> scala> cc.sql("select * from accountentity").count
> res10: Long = 391351
> scala> cc.sql("delete from accountentity")
> INFO  30-03 09:03:03,099 - main Query [DELETE FROM ACCOUNTENTITY]
> INFO  30-03 09:03:03,104 - Parsing command: select tupleId from accountentity
> INFO  30-03 09:03:03,104 - Parse Completed
> INFO  30-03 09:03:03,105 - Parsing command: select tupleId from accountentity
> INFO  30-03 09:03:03,105 - Parse Completed
> res11: org.apache.spark.sql.DataFrame = []
> scala> cc.sql("select * from accountentity").count
> res12: Long = 391351
> The records gets deleted only when an action such as show() is applied. 
> scala> cc.sql("delete from accountentity").show



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message