apache / apache/iotdb

udf编写

Open
#13,785 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

打包之后,注册报错:IoTDB> CREATE FUNCTION example1 AS 'org.example.Main'
Msg: org.apache.iotdb.jdbc.IoTDBSQLException: 301: [TSStatus(code:1202, message:Failed to register UDF EXAMPLE1(org.example.Main), because its instance can not be constructed successfully. Exception: java.lang.ClassNotFoundException: com.example.GenericCsvExporter)]
IoTDB>

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the CREATE FUNCTION example1 registration after packaging, using org.example.Main and the reported missing class com.example.GenericCsvExporter as the entry points. Inspect how the packaged UDF resolves its classes; done means registration succeeds without the ClassNotFoundException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.