当我尝试在使用 Python UDF 的 SQL 查询中使用 MATCH_RECOGNIZE 时,出现错误Python Function can not be used in MATCH_RECOGNIZE for now.
例如,不支持以下内容:
SELECT T.aa as ta
FROM MyTable
MATCH_RECOGNIZE (
ORDER BY proctime
MEASURES
A.a as aa,
pyFunc(1,2) as bb
PATTERN (A B)
DEFINE
A AS a = 1,
B AS b = 'b'
) AS T
这提出了几个问题: