【发布时间】:2018-07-09 17:43:37
【问题描述】:
为什么Where中不能使用UDF?
select * from user_by_location
where distanceOf(latlng.lat,latlng.lng,42.15444,34.58511) > 1;
SyntaxException:第 1:47 行在输入 '(' 处没有可行的替代方案 (
select * from user_by_location where [distanceOf](...)
【问题讨论】:
-
你的UDF定义、表结构和cassandra版本是什么?
标签: user-defined-functions cql