Re: Bindable Baz.bind(DataContext) issue

2018-08-09 Thread Andrei Sereda
eful later to know where this is done :) > > Thanks again, > > Dylan > > > From: "Andrei Sereda" > To: dev@calcite.apache.org > Sent: Thursday, August 9, 2018 3:28:56 PM > Subject: Re: Bindable Baz.bind(DataContext) issue > > Dylan, > > The query t

Re: Bindable Baz.bind(DataContext) issue

2018-08-09 Thread Dylan Heitz
again, Dylan From: "Andrei Sereda" To: dev@calcite.apache.org Sent: Thursday, August 9, 2018 3:28:56 PM Subject: Re: Bindable Baz.bind(DataContext) issue Dylan, The query translation is happening in PredicateAnalyzer <https://github.com/apache/calcite/blob/master/elasticse

Re: Bindable Baz.bind(DataContext) issue

2018-08-09 Thread Andrei Sereda
Dylan, The query translation is happening in PredicateAnalyzer (called inside ElasticsearchFilter). Any reason why you want match query instead of term

Re: Bindable Baz.bind(DataContext) issue

2018-08-09 Thread Vladimir Sitnikov
Dylan>What can I do to see the source code of the method bindable.bind() to change the way of serializing the SQL query into JSON query ? You might find adding -Dcalcite.debug=true entertaining (see https://calcite.apache.org/docs/howto.html#running-tests ) Baz code is generated on the fly, so