carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenliang613 <>
Subject [GitHub] carbondata pull request #1078: [CARBONDATA-1214]changing the delete syntax a...
Date Sun, 25 Jun 2017 00:22:45 GMT
Github user chenliang613 commented on a diff in the pull request:
    --- Diff: examples/spark/src/main/scala/org/apache/carbondata/examples/DataManagementExample.scala
    @@ -45,7 +45,7 @@ object DataManagementExample {
         cc.sql("SHOW SEGMENTS FOR TABLE t3 ").show
         // delete the first segment
    -    cc.sql("DELETE SEGMENT 0 FROM TABLE t3")
    +    cc.sql("delete from table t3 where in (0)")
    --- End diff --
    please use uppercase for "DELETE,FROM ,TABLE, WHERE, IN "

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message