Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Following queries don't work currently with schema-less tables such as parquet or json.
with x as (select * from cp.`region.json`) select region_id, sales_city from x; select region_id, sales_city from ( select * from cp.`region.json`);
Both fail with:
message: "Failure while parsing sql. < ValidationException:[ org.eigenbase.util.EigenbaseContextException: From line 1, column 51 to line 1, column 59 ] < EigenbaseContextException:[ From line 1, column 51 to line 1, column 59 ] < SqlValidatorException:[ Column \'region_id\' not found in any table ]