Re: Handling Functions in custom adapter implementations?

2017-11-28 Thread Christian Tzolov
Yeh, unlike Cassandra, Geode support certain function types (such as CAST and ITEM). To prevent dropping support for those, i've blacklisted just the SqlTypeName.GEOMETRY RexNode for now. It went a step further to hit the ST_Point parameter types issues :) "No applicable constructor/method found

Re: Handling Functions in custom adapter implementations?

2017-11-28 Thread Michael Mior
Yes, the appropriate solution would be to check the expressions being projected and not to trigger your rule for projections you can't handle. For example, check out CassandraProjectRule#matches which validates that only field references are being projected. -- Michael Mior mm...@apache.org

Handling Functions in custom adapter implementations?

2017-11-28 Thread Christian Tzolov
Hey there, I have another question related to ​ ​ handling ​​ spatial ( ​or​ any) functions in custom adapter implementations. For e ​ ​ example the ​ ​ ​rel . plan for the following query ​(​ with ​​ spatial function ​)​ EXPLAIN PLAN FOR SELECT "city", ST_Point( cast("loc" [0] AS