zhengruifeng commented on PR #47283: URL: https://github.com/apache/spark/pull/47283#issuecomment-2226736753
> > is it possible to extract this field first by `df.select('a.b.c')` ? > > I don't like this way, in this way we have to catch exception raised by `df.select('a.b.c')` and match error message , it leads to fragile code. I still hesitate about this approach, since there maybe some related configurations, e.g. case sensitive or not -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org