Skip to content

[CH] Add schema updater script and workflow to run it #6863

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

clee2000
Copy link
Contributor

@clee2000 clee2000 commented Jun 27, 2025

Add a script that automatically checks the schemas in test infra against what is currently ClickHouse, if the schema matches a certain structure. Unfortunately it can't handle comments, would appreciate any ideas for this

Add a workflow to call that script every day. No alerts on it because its ok to be wrong sometimes. Not sure if this is needed

Update readme in the schema folder with more information, also add magic strings for wiki maintenance script

Run the script to update the schemas

Add the default.workflow_run table

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 27, 2025
clee2000 added a commit that referenced this pull request Jul 8, 2025
For the schemas that have structure `<table name>/schema.sql`, change
the folder to include the database

Reason: to potentially merge #6863
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants