Skip to content

Conversation

@ggevay
Copy link
Contributor

@ggevay ggevay commented Jul 10, 2024

Discussed with Marta and Nikhil here.

This changes the REHYDRATION TIME ESTIMATE cluster option to HYDRATION TIME ESTIMATE. The parser still accepts the old version. Eventually, the old version will be completely removed, once users move to the new version. They'll move to the new syntax automatically when they start using a new dbt adapter version. Created an issue: https://github.com/MaterializeInc/database-issues/issues/8248

I think I changed the dbt adapter (misc/dbt-materialize/dbt/include/materialize/macros/ci/create_cluster.sql). @morsapaes, can you confirm?

(I changed the mz_internal.mz_cluster_schedules.refresh_hydration_time_estimate column. This is in mz_internal, so should be fine.)

(I haven't changed the protobuf for the catalog objects, but I think this is not externally visible anywhere.)

Motivation

  • This PR does a minor syntax change, using a cleaner term as a keyword.

Tips for reviewer

Checklist

@ggevay ggevay force-pushed the rehydration-to-hydration branch 2 times, most recently from 980aa25 to 2d9fff3 Compare July 10, 2024 13:55
@ggevay ggevay added the A-ADAPTER Topics related to the ADAPTER layer label Jul 10, 2024
@ggevay ggevay force-pushed the rehydration-to-hydration branch from 2d9fff3 to e366944 Compare July 10, 2024 14:11
@ggevay ggevay force-pushed the rehydration-to-hydration branch from e366944 to 9895bdb Compare July 10, 2024 14:22
@ggevay ggevay marked this pull request as ready for review July 10, 2024 19:52
@ggevay ggevay requested review from a team and morsapaes as code owners July 10, 2024 19:52
@ggevay ggevay requested a review from jkosh44 July 10, 2024 19:52
@ggevay
Copy link
Contributor Author

ggevay commented Jul 10, 2024

The Nightly failures look unrelated, but I'll take a closer look tomorrow.

Copy link
Contributor

@benesch benesch left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

Copy link
Contributor

@morsapaes morsapaes left a comment

Choose a reason for hiding this comment

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

The dbt bits look good to me. We'll need to cut a release in tandem with next week's release. @bobbyiliev

@ggevay
Copy link
Contributor Author

ggevay commented Jul 11, 2024

The Nightly failures are unrelated. Merging.

@ggevay ggevay merged commit 67e8790 into MaterializeInc:main Jul 11, 2024
@sjwiesman sjwiesman mentioned this pull request Jul 19, 2024
5 tasks
sjwiesman added a commit that referenced this pull request Jul 19, 2024
### Motivation

Release dbt-materialize v1.8.3 to pick up
#28138 (review)

### Tips for reviewer

<!--
Leave some tips for your reviewer, like:

    * The diff is much smaller if viewed with whitespace hidden.
    * [Some function/module/file] deserves extra attention.
* [Some function/module/file] is pure code movement and only needs a
skim.

Delete this section if no tips.
-->

### Checklist

- [ ] This PR has adequate test coverage / QA involvement has been duly
considered. ([trigger-ci for additional test/nightly
runs](https://trigger-ci.dev.materialize.com/))
- [ ] This PR has an associated up-to-date [design
doc](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/design/README.md),
is a design doc
([template](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/design/00000000_template.md)),
or is sufficiently small to not require a design.
  <!-- Reference the design in the description. -->
- [ ] If this PR evolves [an existing `$T ⇔ Proto$T`
mapping](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/command-and-response-binary-encoding.md)
(possibly in a backwards-incompatible way), then it is tagged with a
`T-proto` label.
- [ ] If this PR will require changes to cloud orchestration or tests,
there is a companion cloud PR to account for those changes that is
tagged with the release-blocker label
([example](MaterializeInc/cloud#5021)).
<!-- Ask in #team-cloud on Slack if you need help preparing the cloud
PR. -->
- [ ] This PR includes the following [user-facing behavior
changes](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/guide-changes.md#what-changes-require-a-release-note):
- <!-- Add release notes here or explicitly state that there are no
user-facing behavior changes. -->
sjwiesman added a commit to sjwiesman/materialize that referenced this pull request Jul 19, 2024
### Motivation

Release dbt-materialize v1.8.3 to pick up
MaterializeInc#28138 (review)

### Tips for reviewer

<!--
Leave some tips for your reviewer, like:

    * The diff is much smaller if viewed with whitespace hidden.
    * [Some function/module/file] deserves extra attention.
* [Some function/module/file] is pure code movement and only needs a
skim.

Delete this section if no tips.
-->

### Checklist

- [ ] This PR has adequate test coverage / QA involvement has been duly
considered. ([trigger-ci for additional test/nightly
runs](https://trigger-ci.dev.materialize.com/))
- [ ] This PR has an associated up-to-date [design
doc](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/design/README.md),
is a design doc
([template](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/design/00000000_template.md)),
or is sufficiently small to not require a design.
  <!-- Reference the design in the description. -->
- [ ] If this PR evolves [an existing `$T ⇔ Proto$T`
mapping](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/command-and-response-binary-encoding.md)
(possibly in a backwards-incompatible way), then it is tagged with a
`T-proto` label.
- [ ] If this PR will require changes to cloud orchestration or tests,
there is a companion cloud PR to account for those changes that is
tagged with the release-blocker label
([example](MaterializeInc/cloud#5021)).
<!-- Ask in #team-cloud on Slack if you need help preparing the cloud
PR. -->
- [ ] This PR includes the following [user-facing behavior
changes](https://github.com/MaterializeInc/materialize/blob/main/doc/developer/guide-changes.md#what-changes-require-a-release-note):
- <!-- Add release notes here or explicitly state that there are no
user-facing behavior changes. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ADAPTER Topics related to the ADAPTER layer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants