Github user ueshin commented on the issue: https://github.com/apache/spark/pull/21121 I'm not sure we really need this function. If the purpose is only for `transform` function you mentionsed at https://github.com/apache/spark/pull/21121#issuecomment-383319312, how about adding a second parameter to `transform` to pass the index? It would seem higher performance because we don't need to materialize the struct. It's also up to @hvanhovell who I believe is working on `transform`, so I'd like to wait for his opinion as well.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org