[ https://issues.apache.org/jira/browse/SPARK-44837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Zhang updated SPARK-44837: ---------------------------------- Description: {code:java} -- hive table sql("create table some_table (x int, y int, z int) using parquet PARTITIONED BY (x, y) " + "location '/Users/someone/runtime/tmp-data/some_table'") sql("alter table some_table alter column x comment 'some-comment'").collect() Can't find column `x` given table data columns [`z`].{code} Improve error message to indicate to users that the command is not supported on partition columns in non-delta tables. was: {code:java} -- hive table sql("create table some_table (x int, y int, z int) using parquet PARTITIONED BY (x, y) " + "location '/Users/someone/runtime/tmp-data/some_table'") sql("alter table some_table alter column x comment 'some-comment'").collect() Can't find column `x` given table data columns [`z`].{code} {{{}Improve error{}}}{\{ message to indicate to users that the command is not supported on partition columns in non-delta tables.}} > Improve error message for ALTER TABLE ALTER COLUMN on partition columns in > non-delta tables > ------------------------------------------------------------------------------------------- > > Key: SPARK-44837 > URL: https://issues.apache.org/jira/browse/SPARK-44837 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.4.1 > Reporter: Michael Zhang > Priority: Minor > > > {code:java} > -- hive table > sql("create table some_table (x int, y int, z int) using parquet PARTITIONED > BY (x, y) " + > "location '/Users/someone/runtime/tmp-data/some_table'") > sql("alter table some_table alter column x comment 'some-comment'").collect() > Can't find column `x` given table data columns [`z`].{code} > Improve error message to indicate to users that the command is not supported > on partition columns in non-delta tables. > -- 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