skambha commented on issue #27627: URL: https://github.com/apache/spark/pull/27627#issuecomment-618550511
We can do that, but it will **not** just be an assignment, but it would need a If expression. So it will be something like this in update. ` If(!isEmpty, false, IsNull(child.cast(sumDataType))) ` Also may be better to change the name of the flag to reflect what it stands for. Shall I go ahead and make this change? ---------------------------------------------------------------- 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]
