Re: RexCall Logic

2016-09-09 Thread Jesus Camacho Rodriguez
It should indeed cover that case. -- Jesús On 9/7/16, 11:02 PM, "Julian Hyde" wrote: >Jesus added something very close to that in >https://issues.apache.org/jira/browse/CALCITE-1220: > >// condition not satisfiable >checkSimplifyFilter(and(eq(aRef, literal1),

Problem with elasticsearch adapter

2016-09-09 Thread xuedong luan
Hi Calcite devs, I have problem when i am using elasticsearch adapter to query a index from elasticsearch,Following is the sample code: Properties properties = new Properties(); properties.setProperty("caseSensitive", "false"); PreparedStatement statement2 = null; Connection conn = null; try {

is there any tool class to generate RexNodes from a SQL command?

2016-09-09 Thread 沈志宏
hi, dear all is there any tool class to generate RexNodes from a SQL command? for example, List RexNodeUtils.parse(schema, "select * from persons where name like 'm%' and age>10") i am writing a solr adapter and i really really need it to help write java tests for my query translator. best