Skip to content

Fix #2446: improve table $push $position error#2464

Open
erichare wants to merge 3 commits intomainfrom
fix/push-table-position-error
Open

Fix #2446: improve table $push $position error#2464
erichare wants to merge 3 commits intomainfrom
fix/push-table-position-error

Conversation

@erichare
Copy link
Copy Markdown
Contributor

@erichare erichare commented May 7, 2026

What this PR does:

Improves table $push validation so $each with unsupported modifiers reports the extraneous field, for example $position, instead of a generic $each array error. Adds resolver tests for list and map push cases.

Which issue(s) this PR fixes:
Fixes #2446

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@erichare erichare requested a review from a team as a code owner May 7, 2026 20:38
@erichare erichare requested review from amorton and sl-at-ibm May 7, 2026 20:39
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

📈 Unit Test Coverage Delta vs Main Branch

Metric Value
Main Branch 51.44%
This PR 51.46%
Delta 🟢 +0.02%
✅ Coverage improved!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Unit Test Coverage Report

Overall Project 51.46% 🍏
Files changed 91.94% 🍏

File Coverage
TableUpdatePushResolver.java 83.71% -1.12% 🍏

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

📉 Integration Test Coverage Delta vs Main Branch (dse69-it)

Metric Value
Main Branch 72.63%
This PR 72.63%
Delta 🔴 -0.01%
⚠️ Coverage decreased

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Integration Test Coverage Report (dse69-it)

Overall Project 72.63% -0.05% 🍏
Files changed 17.74%

File Coverage
TableUpdatePushResolver.java 66.52% -11.38%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

📉 Integration Test Coverage Delta vs Main Branch (hcd-it)

Metric Value
Main Branch 74.10%
This PR 74.06%
Delta 🔴 -0.04%
⚠️ Coverage decreased

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Integration Test Coverage Report (hcd-it)

Overall Project 74.06% -0.05% 🍏
Files changed 17.74%

File Coverage
TableUpdatePushResolver.java 66.52% -11.38%

Copy link
Copy Markdown
Contributor

@tatu-at-datastax tatu-at-datastax left a comment

Choose a reason for hiding this comment

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

LGTM, added one suggestion.

@tatu-at-datastax
Copy link
Copy Markdown
Contributor

Looks good @erichare -- ready to merge.

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.

Error messages when pushing to a table with position could be improved

2 participants