Skip to content

Conversation

@joyCurry30
Copy link
Contributor

Purpose
[core] AddColumn move support before and last.

Linked issue: close #3316

Tests
Add test case: org.apache.paimon.schema.SchemaManagerTest#testApplyMove

API and Format
Documentation

@JingsongLi
Copy link
Contributor

Error:  Failures: 
Error:    SparkSchemaEvolutionITCase.testUpdateColumnPosition:293 
Expecting actual:
  "[[CREATE TABLE paimon.default.tableAfter1 (
  a INT,
  c STRING,
  d DOUBLE,
  b BIGINT)
USING paimon
TBLPROPERTIES (
  'path' = 'file:/tmp/junit3274003400986975097/default.db/tableAfter1')
]]"
to contain:
  "CREATE TABLE paimon.default.tableAfter1 (
  a INT,
  c STRING,
  b BIGINT,
  d DOUBLE)
USING paimon
" 
[INFO] 
Error:  Tests run: 85, Failures: 1, Errors: 0, Skipped: 0

@joyCurry30
Copy link
Contributor Author

@JingsongLi I have fixed the test case and improve my test case, cc plz.

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JingsongLi JingsongLi merged commit 05bcf0c into apache:master Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] addColumn move support before and last

2 participants