Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10710

Log When Kudu Table Already Exists in HMS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • ghx-label-3

    Description

      As I understand the code, Impala performs HMS/Kudu CREATE TABLE interaction as:

      • Create the table in Kudu
      • Register table with HMS
      • Drop the Kudu table on HMS error

      This is generally OK, except that it drops the table from Kudu on a TableAlreadyExists Exception.

      So, if I issue the same CREATE TABLE statement twice, the data will be dropped from Kudu on the second execution.

      This applies only to IF NOT EXISTS statements.

      Attachments

        1. IMPALA-10710.diff
          6 kB
          David Mollitor

        Issue Links

          Activity

            People

              Unassigned Unassigned
              belugabehr David Mollitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m