Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Source versioning #692

Closed
wants to merge 46 commits into from
Closed

[WIP] Source versioning #692

wants to merge 46 commits into from

Conversation

bobbyiliev
Copy link
Contributor

@bobbyiliev bobbyiliev commented Jan 17, 2025

Currently on-hold but this is the initial implementation for the source versioning refactor as per #646

The main changes to consider:

  • Marking the table attribute as optional and deprecated for both the MySQL and Postgres sources
  • Introduced a new all_tables bool attribute for the MySQL and the Loadgen sources, as in the past this was defaulting always using FOR ALL TABLES in the load gen sources (auction, marketing, tpch) and in the MySQL case whenever no table blocks were defined, we defaulted to FOR ALL TABLES. This all_tables bool attribute allows us to create sources without any tables defined as per the source versioning work
  • Introducing the new materialize_source_table_{mysql|postgres|load_generator} resource which allows us to do CREATE TABLE ... FROM SOURCE ...

Things that are still pending: #646

Currently missing tests for the webhook source.

Fixes #686
Fixes #602

Covers most of the tasks under #646

@bobbyiliev bobbyiliev changed the title Source versioning [WIP] Source versioning Jan 17, 2025
@bobbyiliev
Copy link
Contributor Author

Closing this PR in favour of: #693

@bobbyiliev bobbyiliev closed this Jan 17, 2025
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.

Add support for CREATE TABLE ... FROM WEBHOOK Implement SQL parsing for CREATE TABLE .. FROM SOURCE
1 participant