You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "刘珍 (Jira)" <ji...@apache.org> on 2021/08/27 01:40:00 UTC
[jira] [Commented] (IOTDB-1591) release-0.12.2 RC1 cluster :
Execute CREATE FUNCTION on 1 node, this FUNCTION is invisible to other
nodes
[ https://issues.apache.org/jira/browse/IOTDB-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405526#comment-17405526 ]
刘珍 commented on IOTDB-1591:
---------------------------
This is not a bug.
It's need to copy ${UDF}.jar to all nodes .(ext/udf)
> release-0.12.2 RC1 cluster : Execute CREATE FUNCTION on 1 node, this FUNCTION is invisible to other nodes
> ----------------------------------------------------------------------------------------------------------
>
> Key: IOTDB-1591
> URL: https://issues.apache.org/jira/browse/IOTDB-1591
> Project: Apache IoTDB
> Issue Type: Bug
> Affects Versions: 0.12.2
> Reporter: 刘珍
> Priority: Minor
> Attachments: image-2021-08-26-13-51-54-754.png, udf-example-0.12.2-SNAPSHOT.jar
>
>
> iotdb info:
> release 0.12.2 RC1
> cluster :
> ip5/ip10/ip13
> default_replica_num=1
> ip13 :
> cp udf-example-0.12.2-SNAPSHOT.jar ${release_1202_dir}/ext/udf/
> ip13 cli :
> CREATE FUNCTION example AS "org.apache.iotdb.udf.UDTFExample"
> SHOW FUNCTIONS;
> !image-2021-08-26-13-51-54-754.png!
> ip5/ip10 cli:
> SHOW FUNCTIONS;
>
> FUNCTION example is invisible .
> ./sbin/start-cli.sh -h 192.168.130.10 -p 6688 -e "SELECT s1, example(s1), s2, example(s2) FROM root.sg1.d1;"
> Msg: 411: Error occurred in query process: Failed to reflect UDF instance, because UDF EXAMPLE {color:#DE350B}*has not been registered.*{color}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)