They all look plausible. Calcite uses a “flattener” to convert structs into regular columns and if it doesn’t do it right, you tend to get off-by-one errors.
> On Aug 31, 2018, at 11:03 AM, Rui Wang <[email protected]> wrote: > > Hi community, > > I am testing ROW type on top of Apache Beam. I am tying to make these cases > work: > > INSERT INTO table_with_row_column > SELECT row from another_table_with_row_column > > or > > INSERT INTO table_with_row_column > SELECT row FROM ( > SELECT ... FROM ( > SELECT ... > ) > ) > > I tested a bunch of queries and had some exceptions that stopped queries to > finish. Here are some JIRAs I created with what query I tested, what Java > stack was and the source code link where the code execution failed: > > https://issues.apache.org/jira/browse/CALCITE-2515 > https://issues.apache.org/jira/browse/CALCITE-2516 > https://issues.apache.org/jira/browse/CALCITE-2517 > > > I am wondering whether these JIRAs are valid? > > Thanks, > Rui
