cloud-fan commented on code in PR #38823:
URL: https://github.com/apache/spark/pull/38823#discussion_r1039260520


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1266,6 +1266,11 @@
           "DISTRIBUTE BY clause."
         ]
       },
+      "GENERATED_COLUMN_UNSUPPORTED_FOR_PROVIDER" : {
+        "message" : [
+          "Target data source with table provider: \"<provider>\" does not 
support creating generated columns with GENERATED ALWAYS AS expressions in 
<statement>."

Review Comment:
   Can we reuse the `TABLE_OPERATION` error class? The final error message can 
be `Table xxx does not support generated columns`.  



-- 
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]

Reply via email to