[ https://issues.apache.org/jira/browse/SPARK-41290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17640183#comment-17640183 ]
Apache Spark commented on SPARK-41290: -------------------------------------- User 'allisonport-db' has created a pull request for this issue: https://github.com/apache/spark/pull/38823 > Support GENERATED ALWAYS AS in create table > ------------------------------------------- > > Key: SPARK-41290 > URL: https://issues.apache.org/jira/browse/SPARK-41290 > Project: Spark > Issue Type: New Feature > Components: SQL > Affects Versions: 3.4.0 > Reporter: Allison Portis > Priority: Major > > Support GENERATED ALWAYS AS syntax for defining generated columns in create > table. > For example, > > {code:java} > CREATE TABLE default.example ( > time TIMESTAMP, > date DATE GENERATED ALWAYS AS (CAST(time AS DATE)) > ) > {code} > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org