ulysses-you commented on pull request #29152: URL: https://github.com/apache/spark/pull/29152#issuecomment-662762754
How about give user a config that `convertNullAsString`, then we convert `null` as `StringType` if the config is enable ? In my practice, most time `select null as c` means `c` is a meaningless string. Just like Java `String str = null`. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
