calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danny Chan <>
Subject Re: Query hints support and example of extended SQL syntax
Date Mon, 28 Oct 2019 09:45:06 GMT
Thanks, Vladimir ~

Yes, Calcite does not support hints now but we start working out a framework to let user customize
the content of their hints implementation. I have written a design doc[2] and fire a PR[3].

We did have a long discussion about the design, and I think we can merge the code soon.

Let me know If this syntax of framework satisfy your needs, thanks ~


Danny Chan
在 2019年10月28日 +0800 PM5:09,Vladimir Ozerov <>,写道:
> Hi colleagues,
> I am working on Calcite integration with Hazelcast. One particular problem
> is that we need query hints. I found a couple of tickets [1] [2], and it
> seems that hints are not readily available at the moment. So I have two
> questions:
> 1) Is it true that there is no built-in way to provide query hints at the
> moment? Are there any plans to finally add hints to the engine?
> 2) As a possible solution, I am considering extending SELECT syntax with a
> custom parser extension. Do you know any example of extended SELECT syntax
> in existing Calcite integrations? I found an example of SqlInsert command
> extension in Apache Flink, but maybe somebody already extended SELECT as
> well?
> Thank you,
> Vladimir.
> [1]
> [2]

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message