Re: SqlSnapshot throws NullPointerException when used in conjunction with CTE

2021-11-18 Thread Caizhi Weng
Hi! Thanks for raising this issue. This is a known issue [1] that is caused by WITH clause + lookup joins. A workaround is to use CREATE TEMPORARY VIEW ... AS ... instead of WITH to create a view. I've closed your issue as it is a duplicate. Let's continue our discussion in [1]. [1] https://issu

SqlSnapshot throws NullPointerException when used in conjunction with CTE

2021-11-18 Thread Yuval Itzchakov
Hi, Flink 1.14.0 Scala 2.12 Java 11 Given the following program: package com.flink.bug import org.apache.flink.api.scala.createTypeInformation import org.apache.flink.streaming.api.scala.StreamExecutionEnvironment import org.apache.flink.table.api.DataTypes import org.apache.flink.table.api.Sche