kevinwilfong commented on code in PR #10587:
URL:
https://github.com/apache/incubator-gluten/pull/10587#discussion_r2319603987
##########
gluten-substrait/src/main/scala/org/apache/gluten/utils/SubstraitUtil.scala:
##########
@@ -107,4 +109,20 @@ object SubstraitUtil {
val nameList = ConverterUtils.collectAttributeNamesWithExprId(output)
createNameStructBuilder(typeList, nameList,
Collections.emptyList()).build()
}
+
+ def convertJavaObjectToAny(obj: AnyRef): Any = {
+ if (obj == null) return null
+ var msg: Message = null
Review Comment:
I had to leave in the `: Message` otherwise I got a compiler error I think
because the types in the different cases are different, but otherwise made the
change.
--
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]