dtenedor commented on PR #46312: URL: https://github.com/apache/spark/pull/46312#issuecomment-2088934443
``` previously we could not set a variant default column like create table t( v6 variant default parse_json('{\"k\": \"v\"}') ) ``` @richardc-db this would work if the `ParseJson` expression was constant-foldable. Is there a reason we cannot do that? https://github.com/databricks/runtime/blob/bbc6e62658adfbce662a45190c9e755277743e84/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/variant/variantExpressions.scala#L51 -- 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