[ https://issues.apache.org/jira/browse/HIVE-16677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16197929#comment-16197929 ]
Jesus Camacho Rodriguez commented on HIVE-16677: ------------------------------------------------ This will make CREATE TABLE statements work, as well as INSERT / INSERT OVERWRITE statements that produce no data. https://cwiki.apache.org/confluence/display/Hive/Druid+Integration needs to be updated. > CTAS with no data fails in Druid > -------------------------------- > > Key: HIVE-16677 > URL: https://issues.apache.org/jira/browse/HIVE-16677 > Project: Hive > Issue Type: Bug > Components: Druid integration > Affects Versions: 3.0.0 > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > > 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: > {noformat} > druid.DruidStorageHandler: Exception while commit > java.io.FileNotFoundException: File > /tmp/workingDirectory/.staging-jcamachorodriguez_20170515053123_835c394b-2157-4f6b-bfed-a2753acd568e/segmentsDescriptorDir > does not exist. > ... > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)