Skip to content

Support Null engine datasources#155

Merged
rmorehig merged 2 commits into
mainfrom
support-null-engine
May 14, 2026
Merged

Support Null engine datasources#155
rmorehig merged 2 commits into
mainfrom
support-null-engine

Conversation

@rmorehig
Copy link
Copy Markdown
Collaborator

@rmorehig rmorehig commented May 14, 2026

Summary

  • add engine.null() for Tinybird Null engine datasources
  • emit ENGINE Null without MergeTree-only sorting key directives
  • support migrating/codegen for existing resources with ENGINE Null
  • add a live E2E test that builds a Null engine source, ingests into it, and verifies rows arrive through a materialized view target
  • bump package version to 0.0.70

Why

A customer reported that the TypeScript SDK could not model Tinybird Null engine datasources even though native .datasource files support ENGINE Null.

Validation

  • pnpm typecheck
  • pnpm test:run src/schema/engines.test.ts src/generator/datasource.test.ts src/codegen/utils.test.ts src/cli/commands/migrate.test.ts
  • pnpm vitest run --config vitest.e2e.live.config.ts e2e-live/null-engine.test.ts (skipped locally without live E2E credentials)

@rmorehig rmorehig marked this pull request as ready for review May 14, 2026 07:25
@rmorehig rmorehig changed the title [codex] support Null engine datasources Support Null engine datasources May 14, 2026
@rmorehig rmorehig merged commit 145e024 into main May 14, 2026
2 checks passed
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