[localhost:21000] > create table testtbl as select
> first_value(l_orderkey) over (order by l_orderkey rows between current
> row and current row),
> first_value(l_partkey) over (order by l_orderkey rows between current
> row and current row)
> from tpch_parquet.lineitem
> ;
Query: create table testtbl as select
first_value(l_orderkey) over (order by l_orderkey rows between current
row and current row),
first_value(l_partkey) over (order by l_orderkey rows between current
row and current row)
from tpch_parquet.lineitem
ERROR: IllegalStateException: Illegal reference to non-materialized slot: tid=0 sid=1