Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-304

drop table command should not remove data files in default

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Catalog, QueryMaster
    • Labels:
      None

      Description

      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.

      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.

        Attachments

        1. TAJO-304.patch
          24 kB
          Hyunsik Choi

          Activity

            People

            • Assignee:
              hyunsik Hyunsik Choi
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: