Re: UNION ALL on two LookupTableSources

2021-08-15 Thread JING ZHANG
Hi Yuval, >From the exception stack, it seems the original sql union all two LookupTableSource and write to a sink, right? I think it is reasonable to throw an exception, maybe we could make the error message more clear to understand. `LookupableTableSource` is used to look up data from external s

UNION ALL on two LookupTableSources

2021-08-15 Thread Yuval Itzchakov
Hi, I'm trying to run a UNION ALL query on two LookupTableSource tables defined with JDBC. When attempting this Flink complains that this is an unsupported feature: Caused by: org.apache.calcite.plan.RelOptPlanner$CannotPlanException: There are not enough rules to produce a node with desired prop