You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Dmitry Sysolyatin <dm...@gmail.com> on 2022/11/15 09:37:19 UTC

What is the purpose of systemFieldList inside SqlToRelConverter

Hello!

I started to look inside SqlToRelConverter code more deeply and found a
variable with name systemFieldList that is not really used in calcite code.

Can someone explain the purpose of this variable ? Are there any projects
which override getSystemFields method ?

I couldn't figure it out from the commit's history.

Re: What is the purpose of systemFieldList inside SqlToRelConverter

Posted by Julian Hyde <jh...@gmail.com>.
This came up recently. See my comment in https://issues.apache.org/jira/browse/CALCITE-4362 where I talk about how "isSystemField and getRowTypeSansSystemColumns are not stubs exactly, but vestiges of a previous system”.

> On Nov 15, 2022, at 1:37 AM, Dmitry Sysolyatin <dm...@gmail.com> wrote:
> 
> Hello!
> 
> I started to look inside SqlToRelConverter code more deeply and found a
> variable with name systemFieldList that is not really used in calcite code.
> 
> Can someone explain the purpose of this variable ? Are there any projects
> which override getSystemFields method ?
> 
> I couldn't figure it out from the commit's history.