Skip to content

[spark] Reject null migration options map values - #9097

Closed
huangxiaopingRD wants to merge 1 commit into
apache:masterfrom
huangxiaopingRD:fix-migration-null-options
Closed

[spark] Reject null migration options map values#9097
huangxiaopingRD wants to merge 1 commit into
apache:masterfrom
huangxiaopingRD:fix-migration-null-options

Conversation

@huangxiaopingRD

Copy link
Copy Markdown
Contributor

Purpose

Reject null values in options_map for migrate_table and migrate_database.

  • Declare options_map values as non-nullable in procedure parameters.
  • Add runtime validation to return a clear error instead of a NullPointerException if a nullable MapData bypasses SQL analysis.

Tests

  • Add SQL-level and direct conversion regression coverage.

@huangxiaopingRD
huangxiaopingRD force-pushed the fix-migration-null-options branch from c9018d6 to 2dad4db Compare August 7, 2026 12:50
@huangxiaopingRD
huangxiaopingRD deleted the fix-migration-null-options branch August 7, 2026 13:57
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