Re: [CANCEL] [VOTE] Release apache-calcite-1.23.0 (release candidate 0)

2020-05-14 Thread Stamatis Zampetakis
Did you fill your PGP key fingerprint in https://id.apache.org/ ? This step is necessary in order to see your key under https://people.apache.org/keys/committer/ Best, Stamatis On Thu, May 14, 2020 at 3:25 AM Haisheng Yuan wrote: > Thanks a lot. > I will try it again. >

Apache calcite / jdbc Oracle

2020-05-14 Thread Thierry Rolland
Hello all, I'm trying calcite avatica v1.16.0 which seems to be a very great tool. I tried with a postgresql database and that works very fine (I used the provided docker standalone server for my tests) Now, I'm trying with an oracle database (v19c) and like for postgresql, I'm using a doc

Re: [CANCEL] [VOTE] Release apache-calcite-1.23.0 (release candidate 0)

2020-05-14 Thread Haisheng Yuan
Yes, I did it 4 days ago. On 2020/05/14 09:18:38, Stamatis Zampetakis wrote: > Did you fill your PGP key fingerprint in https://id.apache.org/ ? > > This step is necessary in order to see your key under > https://people.apache.org/keys/committer/ > > Best, > Stamatis >

Re: [DISCUSS] Towards Cascades Optimizer

2020-05-14 Thread Julian Hyde
> I even added a > VolcanoPlannerFactory in my code to allow user to specify their own > planner. But I also see that Julian is more of keeping one planner. I am fine with multiple planners. (We already have multiple planners - Hep and Volcano.) Another one or two more is fine. In the short term

Re: Apache calcite / jdbc Oracle

2020-05-14 Thread Julian Hyde
That sounds like a bug in Avatica. I was not aware that in 'isWrapperFor(Class iface)', 'iface' had to be an interface, and had assumed the driver would just return 'false'. Can you please log it? A solution would be to create an interface in Avatica for AvaticaPreparedStatement. (It seems that t

[jira] [Created] (CALCITE-4002) Add security check to make sure TransformationRule doesn't generate PhysicalNode

2020-05-14 Thread Haisheng Yuan (Jira)
Haisheng Yuan created CALCITE-4002: -- Summary: Add security check to make sure TransformationRule doesn't generate PhysicalNode Key: CALCITE-4002 URL: https://issues.apache.org/jira/browse/CALCITE-4002

[jira] [Created] (CALCITE-4003) In MaterializationTest, FilterProjectTransposeRule matches with logical and physical convention

2020-05-14 Thread Haisheng Yuan (Jira)
Haisheng Yuan created CALCITE-4003: -- Summary: In MaterializationTest, FilterProjectTransposeRule matches with logical and physical convention Key: CALCITE-4003 URL: https://issues.apache.org/jira/browse/CALCITE-4

[jira] [Created] (CALCITE-4004) Override RelOptRuleOperand.toString()

2020-05-14 Thread Haisheng Yuan (Jira)
Haisheng Yuan created CALCITE-4004: -- Summary: Override RelOptRuleOperand.toString() Key: CALCITE-4004 URL: https://issues.apache.org/jira/browse/CALCITE-4004 Project: Calcite Issue Type: Imp

bug in DelegatingScope?

2020-05-14 Thread Laurent Goujon
Hi, I was looking at the validation code and at some point I saw that piece of code in DelegatingScope#fullyQualify: https://github.com/apache/calcite/blob/571731b80a58eb095ebac7123285c375e7afff90/core/src/main/java/org/apache/calcite/sql/validate/DelegatingScope.java#L309 for (; i > 0; i--

Re: Apache calcite / jdbc Oracle

2020-05-14 Thread Laurent Goujon
I checked https://docs.oracle.com/javase/7/docs/api/java/sql/Wrapper.html#isWrapperFor(java.lang.Class), and it mentions interface in multiple places, but it doesn't say explicitly that it should throw if the provided argument is not an interface. And I guess Oracle driver chose to enforce this str

Re: Question of Calcite Dynamic Code Generation Feature

2020-05-14 Thread Albert
like Haisheng mentioned, it is certainly debuggable, although not as convenient as plain java code. my understanding is that, the java code generation is merely a demonstration of the physical plan implementation. there are all kinds of ways to implement the logical plan, java code is merely a `he