当create_view和LATERAL TABLE 共用时 会出现字段找不到异常

语法:
CREATE TABLE billing_data_test (
message  STRING


create view v1 as
select T.*
from billing_data_test,
LATERAL TABLE(SplitUdtf(message)) as T(scate1,  scate2,  belong_local1,  ssrc2, 
 gift,  coupon,  local_type);

异常:
Caused by: org.apache.calcite.sql.validate.SqlValidatorException: Column 
'message' not found in any table (com.dataplatform.flink.util.FlinkDebugThread)
[2020-09-16 14:32:04,857] INFO ---      at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
(com.dataplatform.flink.util.FlinkDebugThread)





[email protected]

回复