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

Zero-row insert creates empty data file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.0
    • Fix Version/s: Impala 2.2
    • Component/s: None
    • Labels:

      Description

      when exec an insert query, even the query insert 0 row to the table, a new data file will be generated on HDFS, 0 byte. this could cause lots of 0 byte file on HDFS.
      It doesn't matter if the table has partition or not.

      If the query doesn't have any data to insert, it shouldn't generate a new file.

        Attachments

          Activity

            People

            • Assignee:
              jyu@cloudera.com Juan Yu
              Reporter:
              jyu@cloudera.com Juan Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: