Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
git.commit.id.abbrev=e92db23
The below CTAS statement succeeds. Here the query in CTAS returns 0 results.
create table empty_table as select columns[0] id from `rankings` where columns[0] < 0;
However when I try to run any queries on top of it drill reports a failure
select * from temp1; Query failed: RuntimeException: maprfs:/drill/empty_table/0_0_0.parquet is not a Parquet file (too small) Error: exception while executing query: Failure while executing query. (state=,code=0)
Attached the error log file
Attachments
Attachments
Issue Links
- duplicates
-
DRILL-2408 CTAS should not create empty folders when underlying query returns no results
- Resolved