Steve Carlin created IMPALA-15116:
-------------------------------------

             Summary: Calcite planner: Some views with "*" do not validate
                 Key: IMPALA-15116
                 URL: https://issues.apache.org/jira/browse/IMPALA-15116
             Project: IMPALA
          Issue Type: Bug
            Reporter: Steve Carlin


This is a follow-up to IMPALA-14909

The following view (statements) cause an exception with the Calcite planner:



 create view dim_view (a1, a2, a3, rn) as
 select *, row_number() over(order by id) from functional.dimtbl;

 select rn from dim_view;
 AnalysisException: From line 1, column 68 to line 1, column 72: Column '_c1' 
not found in table 'DIM_VIEW'
 CAUSED BY: SqlValidatorException: Column '_c1' not found in table 'DIM_VIEW'



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to