Re: What is the purpose of systemFieldList inside SqlToRelConverter

2022-11-15 Thread Julian Hyde
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 > wrote: > > Hello! >

Re: Adding implementations of operators for RexExecutor?

2022-11-15 Thread Julian Hyde
Ian, I don’t think anyone has done this before, but making your own executor does seem to be the right path. It’s possible that Schema does not need to be part of the solution. Schema is used for looking up operators by name, but if you already have the operators (because they are referenced i

Build failed in Jenkins: Calcite » Calcite-snapshots #280

2022-11-15 Thread Apache Jenkins Server
See Changes: -- [...truncated 348.44 KB...]  36.4sec, org.apache.calcite.test.SparkAdapterTest > testLimit()  36.2se

[jira] [Created] (CALCITE-5384) Implement LEFT/RIGHT String functions for BigQuery

2022-11-15 Thread Tanner Clary (Jira)
Tanner Clary created CALCITE-5384: - Summary: Implement LEFT/RIGHT String functions for BigQuery Key: CALCITE-5384 URL: https://issues.apache.org/jira/browse/CALCITE-5384 Project: Calcite Issu

Re: Adding implementations of operators for RexExecutor?

2022-11-15 Thread Stamatis Zampetakis
Hey Ian, If the SqlOperator implements the ImplementableFunction [1] interface then you may be able to use the RexExecutor [2] but I assume you already explored this direction. I am not sure if there is an easier way to achieve this. Best, Stamatis [1] https://github.com/apache/calcite/blob/28c5

Re: [DISCUSS] State of the project 2022

2022-11-15 Thread Stamatis Zampetakis
Excellent yearly summary, thanks Ruben! You were on top of everything striving to keep the community healthy and active and at the same time reviewing PRs and contributing as usual. I was glad to have you as a chair and also very proud to be part of this community. 1) What else are we doing well

What is the purpose of systemFieldList inside SqlToRelConverter

2022-11-15 Thread Dmitry Sysolyatin
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 fr