The flags field isn’t used much anymore. I added it for linq4j
("language-integrated” meaning you can execute queries against java objects
from within java source code) to allow an 'int[] deptnos’ to be represented as
a relation, without having to create a wrapper record with a single field
‘class Holder {int x}; Holder[] deptnos’. But this rare use case, where
relations output primitive values, does not justify complicating the much more
common use case, where relations output records.
So, remove it.
On Dec 14, 2014, at 11:19 AM, Vladimir Sitnikov <[email protected]>
wrote:
> Hi,
>
> While I was working on a patch that eliminates trivial projections
> (the ones that just rename input columns) I learned that I do not get
> what is Project.Flags==NONE/BOXED/ANON_FIELDS.
> The pull request is here:
> https://github.com/apache/incubator-calcite/pull/32, however I am not
> sure if it breaks something out of scope of the current test suite.
>
> Is this Flags something that is worth supporting?
> I was not be able to find tests that use non-BOXED Project.
>
> --
> Regards,
> Vladimir Sitnikov