I think I know why, my enumerator need to return an object, i.e. Integer
for single column result instead of array of Object. So,
single column -> return Object
more than 1 column -> return Object[]

Is this the intended behaviour?

On Mon, Feb 2, 2015 at 4:52 PM, Vladimir Sitnikov <
[email protected]> wrote:

> > Exception in thread "main" java.lang.ClassCastException:
> > [Ljava.lang.Object; incompatible with java.lang.Integer
>
> Can you reproduce in Calcite test data or show your table's code?
>
> Vladimir
>

Reply via email to