Re: Nested Struct Type inference error

2018-08-15 Thread Rong Rong
Thanks for the quick response Julian. I will file a JIRA and create a DDL + SQL test in the "server" module and attach to it. Best, Rong On Tue, Aug 14, 2018 at 11:40 AM Julian Hyde wrote: > Since the exception (IOOBE) is not a user error, this seems to be a bug. > > Could you perhaps reproduce

Re: Nested Struct Type inference error

2018-08-14 Thread Julian Hyde
Since the exception (IOOBE) is not a user error, this seems to be a bug. Could you perhaps reproduce this as SQL (DDL plus a query) in the “server” module, say server/src/test/resources/sql/type.iq? > On Aug 14, 2018, at 6:59 AM, Rong Rong wrote: > > Hi Devs, > > I am trying to utilize

Nested Struct Type inference error

2018-08-14 Thread Rong Rong
Hi Devs, I am trying to utilize Calcite type inference in my Flink and realize that one of the situations will cause exception when trying to infer the operand type based on a StructType return type. [1] Seems like there's a requirement [2] that if return type is a struct, the operand # and