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

CTAS with no data fails in Druid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Druid integration
    • None

    Description

      If we create a table in Druid using a CTAS statement and the query executed to create the table produces no data, we fail with the following exception:

      druid.DruidStorageHandler: Exception while commit
      java.io.FileNotFoundException: File /tmp/workingDirectory/.staging-jcamachorodriguez_20170515053123_835c394b-2157-4f6b-bfed-a2753acd568e/segmentsDescriptorDir does not exist.
      ...
      

      Attachments

        1. HIVE-16677.01.patch
          24 kB
          jcamachorodriguez
        2. HIVE-16677.02.patch
          24 kB
          jcamachorodriguez
        3. HIVE-16677.04.patch
          25 kB
          jcamachorodriguez
        4. HIVE-16677.patch
          24 kB
          jcamachorodriguez

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: