+1. It compiles, and works for me.

Julian,

While your fix for 582 works, I do not like how it is implemented.

If you suggest that *ableTable should always return Object[], then you
should express that in email/ticket or at least in
org.apache.calcite.adapter.enumerable.EnumerableTableScan#format.

return ---> table.unwrap(QueryableTable.class) != null <--- &&
fieldCount == 1 ? JavaRowFormat.SCALAR : JavaRowFormat.ARRAY;

Vladimir

Reply via email to