[codex] Add materialized column support#154
Open
rmorehig wants to merge 6 commits into
Open
Conversation
rmorehig
commented
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
t.*().materialized(expression)for ClickHouse/Tinybird materialized column definitions in generated datasource filesMATERIALIZED <expression>in generated datasource schemas.jsonPath(...)is explicitly setImportant note
The live E2E attempt against
/v1/buildshowed the current Tinybird backend rejects this syntax with[raw_logs.datasource] MATERIALIZED columns are not supported. Because of that, this PR keeps coverage at the SDK generator/type level until backend/datafile support exists.Validation
pnpm vitest run src/schema/types.test.ts src/generator/datasource.test.tspnpm typecheckpnpm test:e2e:live(skipped locally becauseTINYBIRD_E2E_USER_TOKEN/TINYBIRD_E2E_WORKSPACE_ADMIN_TOKENare not set)