Skip to content

[core] Migrate shredding map on rename and drop commands#8780

Open
ArnavBalyan wants to merge 1 commit into
apache:masterfrom
ArnavBalyan:arnavb/fix-shred
Open

[core] Migrate shredding map on rename and drop commands#8780
ArnavBalyan wants to merge 1 commit into
apache:masterfrom
ArnavBalyan:arnavb/fix-shred

Conversation

@ArnavBalyan

Copy link
Copy Markdown
Member

Purpose

  • Rename and drop on map column fails with :Field can not be found in table schema.
  • This is because the column specific map shredded keys are not migrated in renames and drops.
  • Add the map.* keys to the rename option migration whitelist and strip them on drop, so rename/drop of a shredding map column succeeds and keeps its layout options.

Tests

  • UT

@ArnavBalyan

Copy link
Copy Markdown
Member Author

cc @JingsongLi thanks! :)

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.

1 participant