on-internet
← Community

Why does the same REVERSE expression work in table model but look for an unregistered UDF in tree model?

Stack Overflow ·

In the Apache IoTDB 2.0.10 tree model, the alarm page's code-reversal expression no longer resolves as a built-in string function; the engine tries to reflect a UDF named REVERSE, while the same expression works in the table model. The data and function name are unchanged; only the dialect differs. Reproducible setup: Tree model: CREATE TIMESERIES root.code_display.line_a.code WITH DATATYPE=TEXT, ENCODING=PLAIN; INSERT INTO root.code_display.line_a(timestamp, code) VALUES (1000, 'E17'); INSERT INTO root.code_display.line_a(timestamp, code) VALUES (2000, 'W04'); Table model: CREATE TABLE alarm_

Comments

Sign in or sign up to comment and upvote.

No comments yet.