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

Hyunsik Choi updated TAJO-304:
------------------------------

    Description: 
h3. Problem
In the current implementation, Tajo removes a data directory when a user issues 
'drop table' command. But, it is very dangerous in many cases. For example, 
some users may lost large data sets.

h3. Solution
In default, 'DROP TABLE' should not remove a data directory. -, and we need to 
add a config property 'tajo.command.drop_table.data_removal' for those who want 
to change the behavior of 'drop table'.- In addition, Tajo should provide 'DROP 
TABLE table_name PURGE'  for removing all data.

  was:
h3. Problem
In the current implementation, Tajo removes a data directory when a user issues 
'drop table' command. But, it is very dangerous in many cases. For example, 
some users may lost large data sets.

h3. Solution
In default, Tajo should not remove a data directory, and we need to add a 
config property 'tajo.command.drop_table.data_removal' for those who want to 
change the behavior of 'drop table'.


> drop table command should not remove data files in default
> ----------------------------------------------------------
>
>                 Key: TAJO-304
>                 URL: https://issues.apache.org/jira/browse/TAJO-304
>             Project: Tajo
>          Issue Type: Improvement
>          Components: catalog, master
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-304.patch
>
>
> h3. Problem
> In the current implementation, Tajo removes a data directory when a user 
> issues 'drop table' command. But, it is very dangerous in many cases. For 
> example, some users may lost large data sets.
> h3. Solution
> In default, 'DROP TABLE' should not remove a data directory. -, and we need 
> to add a config property 'tajo.command.drop_table.data_removal' for those who 
> want to change the behavior of 'drop table'.- In addition, Tajo should 
> provide 'DROP TABLE table_name PURGE'  for removing all data.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to