Re: Offset and fetch

2022-11-06 Thread Haisheng Yuan
There is a similar story behind. https://issues.apache.org/jira/browse/CALCITE-4058 It appears difficult to achieve consensus in the community. However, I don't think there is any harm to do it in your own project. On 2022/11/07 06:19:21 Sasha Syrotenko wrote: > Hi, Calcite community! > I have

Offset and fetch

2022-11-06 Thread Sasha Syrotenko
Hi, Calcite community! I have a story offset and fetch fields in the Sort operator - I want to extract them into a separate Limit rel (in my project), but I wonder -- does it make sense. Will I make a mistake, if I do this extraction, in your opinion? Is there any story behind, which may refrain

Re: Returning the Intermediate Representation of the rewrite rules

2022-11-06 Thread Haisheng Yuan
No, there is no API to return rule output. But there is a class RuleEventLogger, which can log the input and output of the rule. On 2022/11/02 16:53:53 "G.O. Barbulescu" wrote: > Dear Apache Calcite development team, > > I am currently working on a research project in which I am considering

[jira] [Created] (CALCITE-5369) In Avatica DateTimeUtils, add support for FLOOR and CEIL to ISOYEAR

2022-11-06 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-5369: Summary: In Avatica DateTimeUtils, add support for FLOOR and CEIL to ISOYEAR Key: CALCITE-5369 URL: https://issues.apache.org/jira/browse/CALCITE-5369 Project:

[jira] [Created] (CALCITE-5368) Automated site build should not bring changes to SQL reference

2022-11-06 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-5368: Summary: Automated site build should not bring changes to SQL reference Key: CALCITE-5368 URL: https://issues.apache.org/jira/browse/CALCITE-5368 Project: Calcite