Skip to content

Convert mz object dependencies - #38197

Draft
SangJunBak wants to merge 1 commit into
MaterializeInc:mainfrom
SangJunBak:jun/convert-mz-object-dependencies
Draft

Convert mz object dependencies#38197
SangJunBak wants to merge 1 commit into
MaterializeInc:mainfrom
SangJunBak:jun/convert-mz-object-dependencies

Conversation

@SangJunBak

Copy link
Copy Markdown
Contributor

The comment justified the no-persistent-dependency-on-temporary rule with "temporary objects live only in the in-memory, session-scoped catalog and are never persisted", which stopped being true when temporary items became durable catalog items.

The rule and the test are unchanged. Only the reason is: a temporary item is durable but owned by its session, so a persistent item referencing one dangles as soon as that session goes away.

Remove these sections if your commit already has a good description!

Motivation

Why does this change exist? Link to a GitHub issue, design doc, Slack
thread, or explain the problem in a sentence or two. A reviewer who has
no context should understand why after reading this section.

If this implements or addresses an existing issue, it's enough to link to that:
Closes
Fixes
etc.

Description

What does this PR actually do? Focus on the approach and any non-obvious
decisions. The diff shows the code --- use this space to explain what the
diff can't tell a reviewer.

Verification

How do you know this change is correct? Describe new or existing automated
tests, or manual steps you took.

@SangJunBak
SangJunBak force-pushed the jun/convert-mz-object-dependencies branch from dc52cc3 to f766663 Compare August 13, 2026 14:37
The comment justified the no-persistent-dependency-on-temporary rule with
"temporary objects live only in the in-memory, session-scoped catalog and
are never persisted", which stopped being true when temporary items
became durable catalog items.

The rule and the test are unchanged. Only the reason is: a temporary item
is durable but owned by its session, so a persistent item referencing one
dangles as soon as that session goes away.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@SangJunBak
SangJunBak force-pushed the jun/convert-mz-object-dependencies branch from f766663 to ad84881 Compare August 13, 2026 15:15
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