Skip to content

adapter: refactor select to sequence staged#27693

Merged
madelynnblue merged 1 commit into
MaterializeInc:mainfrom
madelynnblue:stage-select-2
Jun 18, 2024
Merged

adapter: refactor select to sequence staged#27693
madelynnblue merged 1 commit into
MaterializeInc:mainfrom
madelynnblue:stage-select-2

Conversation

@madelynnblue
Copy link
Copy Markdown
Contributor

This required changing the RTR and ActiveCopyTo APIs to no longer take full ownership of the ExecuteContext. In the RTR case, this was the last usage of that API and it could be removed completely.

Motivation

  • This PR refactors existing code.

Tips for reviewer

Checklist

@madelynnblue madelynnblue requested a review from a team as a code owner June 16, 2024 08:41
@madelynnblue madelynnblue requested a review from ParkMyCar June 16, 2024 08:41
Copy link
Copy Markdown
Contributor

@ParkMyCar ParkMyCar left a comment

Choose a reason for hiding this comment

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

This looks fantastic, thank you for refactoring peeks to the framework!

@madelynnblue madelynnblue enabled auto-merge June 17, 2024 20:10
This required changing the RTR and ActiveCopyTo APIs to no longer take full
ownership of the `ExecuteContext`. In the RTR case, this was the last usage of
that API and it could be removed completely.
@madelynnblue madelynnblue merged commit 2a8b35b into MaterializeInc:main Jun 18, 2024
@madelynnblue madelynnblue deleted the stage-select-2 branch June 18, 2024 06:04
def- added a commit to def-/materialize that referenced this pull request May 8, 2026
The staged sequencer refactor propagated RtrTimeout and RtrDropFailure
as generic StorageError, losing the humanized display, detail text, and
correct SQL state (QUERY_CANCELED / UNDEFINED_OBJECT). Convert them to
the dedicated AdapterError variants before propagating.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
def- added a commit to def-/materialize that referenced this pull request May 8, 2026
The staged sequencer refactor propagated RtrTimeout and RtrDropFailure
as generic StorageError, losing the humanized display, detail text, and
correct SQL state (QUERY_CANCELED / UNDEFINED_OBJECT). Convert them to
the dedicated AdapterError variants before propagating.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
def- added a commit to def-/materialize that referenced this pull request May 9, 2026
The staged sequencer refactor propagated RtrTimeout and RtrDropFailure
as generic StorageError, losing the humanized display, detail text, and
correct SQL state (QUERY_CANCELED / UNDEFINED_OBJECT). Convert them to
the dedicated AdapterError variants before propagating.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
def- added a commit that referenced this pull request May 13, 2026
The staged sequencer refactor propagated RtrTimeout and RtrDropFailure
as generic StorageError, losing the humanized display, detail text, and
correct SQL state (QUERY_CANCELED / UNDEFINED_OBJECT). Convert them to
the dedicated AdapterError variants before propagating.

lost in #27693

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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