Re: Adding UnsafeRow to Calcite

2017-11-26 Thread txomin pelu
Thanks Enrico and sorry for using a different email address to reply. I agree that an interface could be a good idea. I am far from an expert in Calcite, but I may try to implement something along those lines just to see how difficult it is. Anyone else sees other reasons for or against Object[]

Re: Adding UnsafeRow to Calcite

2017-11-23 Thread Enrico Olivelli
Il mer 22 nov 2017, 22:28 Iñigo Mediavilla ha scritto: > Hello, > > I'm using Calcite to provide an SQL interface (Read-Only) for a Java > Service that contains its data in memory. However most of the fields are > primitive types and exposing them in a

Adding UnsafeRow to Calcite

2017-11-22 Thread Iñigo Mediavilla
Hello, I'm using Calcite to provide an SQL interface (Read-Only) for a Java Service that contains its data in memory. However most of the fields are primitive types and exposing them in a ProjectableFilterableTable forces boxing of the fields values since the scan method returns