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

drop table command should not remove data files in default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Catalog, QueryMaster
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: