Maxim Gekk created SPARK-33924: ---------------------------------- Summary: v2 INSERT INTO .. PARTITION drops the partition location Key: SPARK-33924 URL: https://issues.apache.org/jira/browse/SPARK-33924 Project: Spark Issue Type: Sub-task Components: SQL Affects Versions: 3.2.0 Reporter: Maxim Gekk
See the test "with location" in v2.AlterTableRenamePartitionSuite: {code:scala} val loc = "location1" sql(s"ALTER TABLE $t ADD PARTITION (id = 2) LOCATION '$loc'") checkLocation(t, Map("id" -> "2"), loc) sql(s"INSERT INTO $t PARTITION (id = 2) SELECT 'def'") checkLocation(t, Map("id" -> "2"), loc) {code} The second check must not fail. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org