Skip to content

[fix](fe) Handle BACKUP timeout with immutable properties (#69424) - #70682

Merged
yiguolei merged 1 commit into
apache:branch-4.2from
deardeng:codex/pick-69424-to-branch-4.2
Nov 19, 2026
Merged

yiguolei merged 1 commit into
apache:branch-4.2from
deardeng:codex/pick-69424-to-branch-4.2

Conversation

@deardeng

Copy link
Copy Markdown
Contributor

pick from #69424
Problem Summary: BACKUP SNAPSHOT with a valid timeout property fails during Nereids analysis because BackupCommand removes timeout from the immutable properties map returned by the parser. Copy properties before analyzing timeout and consume all properties from that mutable copy. Add a unit test that parses BACKUP SQL and checks timeout conversion and content parsing.

(cherry picked from commit ddba8b2)

Background

What problem does this PR solve?

Issue Number:
Related PR:
PR Type:

Problem Summary:

Details

Testing

Notes for Reviewers

Release note

Check List (For Author)

  • Behavior changed:
  • Does this need documentation:
  • Pre-submission status:

AI Disclosure

  • Tool:
  • Generated:
  • Human review:

Problem Summary: BACKUP SNAPSHOT with a valid timeout property fails
during Nereids analysis because BackupCommand removes timeout from the
immutable properties map returned by the parser. Copy properties before
analyzing timeout and consume all properties from that mutable copy. Add
a unit test that parses BACKUP SQL and checks timeout conversion and
content parsing.

(cherry picked from commit ddba8b2)
@deardeng
deardeng requested a review from yiguolei as a code owner November 17, 2026 09:53
@deardeng

Copy link
Copy Markdown
Contributor Author

run buildall

@yiguolei
yiguolei merged commit 1380984 into apache:branch-4.2 Nov 19, 2026
35 of 36 checks passed
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.

2 participants