Re: StackOverflowError in HepPlanner

2022-01-05 Thread Jeremy Dyer
gt; might be problematic. > > On Wed, Jan 5, 2022 at 6:31 AM Jeremy Dyer wrote: > > > > Hello, > > > > I am experiencing a java.lang.StackOverFlowError in the HepPlanner [1]. > The > > error is occurring in a unit test that had been working for some time > unti

StackOverflowError in HepPlanner

2022-01-05 Thread Jeremy Dyer
it worked before the upgrade? The query is this [2]. Does anyone have ideas how I might resolve this issue? - Jeremy Dyer [1] https://github.com/apache/calcite/blob/cbfe0609edcc4a843d71497f159e3687a834119e/core/src/main/java/org/apache/calcite/plan/hep/HepPlanner.java#L391 [2] SELECT (CASE WHEN a

Re: Acquiring original SQL identifier from RexInputRef

2021-12-21 Thread Jeremy Dyer
Thank you both very much for the feedback. Let me digest this and do some examining of the codebase and will get back with any questions but your responses are very much appreciated. - Jeremy Dyer On Tue, Dec 21, 2021 at 5:28 PM Vladimir Ozerov wrote: > Hi Jeremy, > > There ar

Re: Acquiring original SQL identifier from RexInputRef

2021-12-21 Thread Jeremy Dyer
Also, forgive my ignorance but is it possible to get the sort of predicate information I mentioned earlier in this email thread from a SqlNode? I don't see an obvious way in the API but that might solve my use case much easier if possible. On Tue, Dec 21, 2021 at 4:14 PM Jeremy Dyer

Re: Acquiring original SQL identifier from RexInputRef

2021-12-21 Thread Jeremy Dyer
extend it. - Jeremy Dyer On Tue, Dec 21, 2021 at 3:53 PM Jacques Nadeau wrote: > If I understand your situation correctly, I would typically model this as a > rule in Calcite that pushes partial predicates (whatever is supported in > the underlying library) directly into the table sca

Re: Acquiring original SQL identifier from RexInputRef

2021-12-21 Thread Jeremy Dyer
> case, it is not possible to link RelNode's attributes to specific > identifiers. For this reason, an attempt to extract such identifier from > any "rel" except for the RelRoot might indicate a design issue. > > Regards, > Vladimir. > > вт, 21 дек. 2021 г. в 20:

Acquiring original SQL identifier from RexInputRef

2021-12-21 Thread Jeremy Dyer
identifier (fname, for example) Thanks, Jeremy Dyer

RexNode to Disjunctive Normal Form (DNF)

2021-12-08 Thread Jeremy Dyer
am using (CUDA & GPU). I have read the documentation a few times but am struggling to understand how or where I do this? Does anyone have any suggestions? Thanks, Jeremy Dyer

Extending Grammar Mapping

2021-11-03 Thread Jeremy Dyer
without having to create a new "SqlCall" extended class and correlating ftl files? - Jeremy Dyer