cloud-fan commented on issue #23325: [SPARK-26376][SQL] Skip inputs without tokens by JSON datasource URL: https://github.com/apache/spark/pull/23325#issuecomment-450539611 if it's only for troubleshooting, I guess users can do `if(IsNull(FromJson(col)), col, FromJson(col))`. My major concern is, `PERMISSIVE` mode doesn't work well in `from_json`, because we can return map/array. Maybe another choice is, if `from_jsom` returns array/map, we should forbid `PERMISSIVE` mode.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org