[jira] [Closed] (CARBONDATA-645) Query Analysis exception while running Delete segment

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (CARBONDATA-645) Query Analysis exception while running Delete segment

Akash R Nilugal (Jira)

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

Ramakrishna closed CARBONDATA-645.
----------------------------------
    Resolution: Not A Bug

the query syntax was different, it should be:
delete segment segment_id from table t1;

> Query Analysis exception while running Delete segment
> -----------------------------------------------------
>
>                 Key: CARBONDATA-645
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-645
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Ramakrishna
>            Priority: Minor
>
> Delete segment query does not work
> 0: jdbc:hive2://172.168.100.212:23040> delete from table t_carbn01 where segment.id in (3.1);
> Error: org.apache.spark.sql.AnalysisException: Table not found: table; line 1 pos 26 (state=,code=0)
> 0: jdbc:hive2://172.168.100.212:23040> show tables;
> +------------+--------------+--+
> | tableName  | isTemporary  |
> +------------+--------------+--+
> | t_carbn01  | false        |



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)