szehon-ho commented on code in PR #50685: URL: https://github.com/apache/spark/pull/50685#discussion_r2056939147
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/ResolveDefaultColumnsUtil.scala: ########## @@ -376,7 +376,7 @@ object ResolveDefaultColumns extends QueryErrorsBase val expr = Literal.fromSQL(defaultSQL) match { // EXISTS_DEFAULT will have a cast from analyze() due to coerceDefaultValue Review Comment: Yes in the happy path. There are unfortunately bugs from before though, where column exists_defaults were persisted as unresolved, hence the fallback mechanism. -- 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