sven-weber-db commented on code in PR #55611:
URL: https://github.com/apache/spark/pull/55611#discussion_r3195522136
##########
sql/core/src/main/scala/org/apache/spark/sql/classic/Dataset.scala:
##########
@@ -1461,14 +1463,36 @@ class Dataset[T] private[sql](
isBarrier: Boolean = false,
profile: ResourceProfile = null): DataFrame = {
val func = funcCol.expr
- Dataset.ofRows(
- sparkSession,
+ val output = toAttributes(func.dataType.asInstanceOf[StructType])
Review Comment:
As discussed offline: Adding support for `mapInArrow` is currently blocked
on the introduction of the gRPC protocol and its implementation. I will raise
the PR for the first part of this change (changes in `udf`). When gRPC has
landed till the second part is required we can address this in one PR.
Otherwise, there will be a follow-up.
--
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]