Re: Re: JDBC and Hint Strategies

2022-10-18 Thread Thomas D'Silva
Dennis, Looking at the code I think the SQL2REL_CONVERTER_CONFIG_BUILDER hook might be the best way to add hints for use via sql. Even though the documentation says hooks should be used for debugging/testing I think practically they are needed to accomplish tasks from adapters for eg the cassasand

Re: Re: JDBC and Hint Strategies

2022-10-14 Thread 42-0x2a
Hello Thomas, Thank you for your answer. I already register the hint strategies as in KuduQuery.java#L88. However, no hints are visible until I surround the JDBC call with a SqlToRelConverter​​​ hook, just like in my first email. I looked at Kudu's test suite and discovered that kudu also

Re: JDBC and Hint Strategies

2022-10-12 Thread Thomas D'Silva
The HintStrategyTable can be defined in your adapter code for eg see https://github.com/twilio/calcite-kudu/blob/84c13e80f7cff83f3acaf5be4fc312c977e18ee8/adapter/src/main/java/com/twilio/kudu/sql/KuduQuery.java#L88 -Thomas On Fri, Oct 7, 2022 at 11:40 AM <42-0...@arcor.de.invalid> wrote: > Hello