Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17422

Skip non-native/temporary tables for all major table/partition related scenarios

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • repl
    • None
    • Reviewed

    Description

      Currently during incremental dump, the non-native/temporary table info is partially dumped in metadata file and will be ignored later by the repl load. We can optimize it by moving the check (whether the table should be exported or not) earlier so that we don't save any info to dump file for such types of tables. CreateTableHandler already has this optimization, so we just need to apply similar logic to other scenarios.

      The change is to apply the EximUtil.shouldExportTable check to all scenarios (e.g. alter table) that calls into the common dump method.

      Attachments

        1. HIVE-17422.4.patch
          9 kB
          Tao Li
        2. HIVE-17422.3.patch
          4 kB
          Tao Li
        3. HIVE-17422.2.patch
          2 kB
          Tao Li
        4. HIVE-17422.1.patch
          2 kB
          Tao Li

        Activity

          People

            taoli-hwx Tao Li
            taoli-hwx Tao Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: