carbondata-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CARBONDATA-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16004616#comment-16004616
] 

Sanoj MG commented on CARBONDATA-837:
-------------------------------------

[~ravi.pesala] I had done a fix, can I open a PR? 

> 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