You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/09/23 01:45:31 UTC
[GitHub] [incubator-seatunnel] YMBSKLK opened a new issue, #2853: [Bug] [seatunnel-transform-flink-udf] udf module classNames initialization error
YMBSKLK opened a new issue, #2853:
URL: https://github.com/apache/incubator-seatunnel/issues/2853
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
In line 102 of org.apache.seatunnel.flink.transform.UDF:
`properties.forEach((k, v) -> {
classNames.add(String.valueOf(**_k_**));
functionNames.add(String.valueOf(k));
});`
should be
`properties.forEach((k, v) -> {
classNames.add(String.valueOf(**_v_**));
functionNames.add(String.valueOf(k));
});`
### SeaTunnel Version
2.1.3
### SeaTunnel Config
```conf
transform {
udf {
function.TO_JSON = "com.cvicse.dome.udf.flink.scalar.ToJson"
}
}
```
### Running Command
```shell
./start-seatunnel-flink.sh -c ../config/flink.udf.conf
```
### Error Exception
```log
java.lang.ClassNotFoundException: TO_JSON
```
### Flink or Spark Version
_No response_
### Java or Scala Version
_No response_
### Screenshots
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-seatunnel] YMBSKLK closed issue #2853: [Bug] [seatunnel-transform-flink-udf] udf module classNames initialization error
Posted by GitBox <gi...@apache.org>.
YMBSKLK closed issue #2853: [Bug] [seatunnel-transform-flink-udf] udf module classNames initialization error
URL: https://github.com/apache/incubator-seatunnel/issues/2853
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-seatunnel] YMBSKLK commented on issue #2853: [Bug] [seatunnel-transform-flink-udf] udf module classNames initialization error
Posted by GitBox <gi...@apache.org>.
YMBSKLK commented on issue #2853:
URL: https://github.com/apache/incubator-seatunnel/issues/2853#issuecomment-1255718007
In line 102 of org.apache.seatunnel.flink.transform.UDF:
properties.forEach((k, v) -> { classNames.add(String.valueOf(**_k_**)); functionNames.add(String.valueOf(k)); });
should be
properties.forEach((k, v) -> { classNames.add(String.valueOf(**_v_**)); functionNames.add(String.valueOf(k)); });
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org