slfan1989 commented on code in PR #6259:
URL: https://github.com/apache/kyuubi/pull/6259#discussion_r1553776654
##########
externals/kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/udf/KDFRegistry.scala:
##########
@@ -37,22 +36,13 @@ object KDFRegistry {
val kyuubiDefinedFunctions = new ArrayBuffer[KyuubiDefinedFunction]
val flinkConfigMap: util.Map[String, String] = {
- if (FLINK_RUNTIME_VERSION === "1.16") {
- DynMethods
- .builder("getConfigMap")
- .impl(classOf[SessionContext])
- .build()
- .invoke(sessionContext)
- .asInstanceOf[util.Map[String, String]]
- } else {
DynMethods
Review Comment:
I will improve it.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]