dongjoon-hyun commented on code in PR #38823:
URL: https://github.com/apache/spark/pull/38823#discussion_r1116489013
##########
sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/Column.java:
##########
@@ -33,6 +33,8 @@
* {@link TableCatalog#createTable(Identifier, Column[], Transform[], Map)},
and report it in
* {@link Table#columns()} by calling the static {@code create} functions of
this interface to
* create it.
+ * <p>
+ * A column cannot have both a default value and a generation expression.
Review Comment:
~Just a question. Do we have a proper error message for this case?~
Never mind. I found `GENERATED_COLUMN_WITH_DEFAULT_VALUE`.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]