Github user chenliang613 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1078#discussion_r123887893
  
    --- 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 segment.id 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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to