You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by Kyle Zhang <sh...@gmail.com> on 2020/06/01 07:25:22 UTC

sql中使用Create view 报错

Hi,
	最近在使用tEnv.sqlUpdate("create view ….的时候报错,Unsupported query: create view。稍微看了一下,master上的SqlToOperationConverter.convert里是有“validated instanceof SqlCreateView”,这个判断的,1.10的分支上还没有,感觉这个功能应该挺常见的吧,Flink SQL CLI上也是支持create view的,还没合并是有什么考虑么。

Re: sql中使用Create view 报错

Posted by Benchao Li <li...@gmail.com>.
Hi Kyle,

这个功能已经在1.11中merge进来了。1.11最近就会发布,到时候可以尝试下1.11

Kyle Zhang <sh...@gmail.com> 于2020年6月1日周一 下午3:25写道:

> Hi,
>         最近在使用tEnv.sqlUpdate("create view ….的时候报错,Unsupported query: create
> view。稍微看了一下,master上的SqlToOperationConverter.convert里是有“validated instanceof
> SqlCreateView”,这个判断的,1.10的分支上还没有,感觉这个功能应该挺常见的吧,Flink SQL CLI上也是支持create
> view的,还没合并是有什么考虑么。



-- 

Best,
Benchao Li