leaves12138 commented on issue #1048:
URL:
https://github.com/apache/incubator-paimon/issues/1048#issuecomment-1562383543
Spark sql when executed, it will validate the column and table attribute
like:
if (queryExpr.nullable && !tableAttr.nullable) {
addError(s"Cannot write nullable values to non-null column
'${colPath.quoted}'")
None
}
when queryExpr = "nvl(a, 1)", queryExpr.nullable will return false, so in
spark-sql, nvl seems could resolve this question
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]