[jira] [Commented] (CARBONDATA-4206) Support rename SI table

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

[jira] [Commented] (CARBONDATA-4206) Support rename SI table

Akash R Nilugal (Jira)

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

Yahui Liu commented on CARBONDATA-4206:
---------------------------------------

Currently rename SI table can succeed, but after rename, insert and query on main table failed, throw no such table exception. This is because after SI table renamed, main table's tblproperties didn't get update, it still stores the old SI table name, when refering to SI table, it tries to find the SI table by old name, which leads to no such table exception.
After SI table renamed, update the main table's tblproperties with new SI information.

> Support rename SI table
> -----------------------
>
>                 Key: CARBONDATA-4206
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4206
>             Project: CarbonData
>          Issue Type: New Feature
>          Components: sql
>    Affects Versions: 2.1.1
>            Reporter: Yahui Liu
>            Priority: Major
>
> Currently rename SI table can succeed, but after rename, insert and query on main table failed, throw no such table exception. This is because after SI table renamed, main table's tblproperties didn't get update, it still stores the old SI table name, when refering to SI table, it tries to find the SI table by old name, which leads to no such table exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)