Skip to content

Parallel sql format#5773

Merged
dessalines merged 6 commits intomainfrom
parallel-sql-format
Jun 11, 2025
Merged

Parallel sql format#5773
dessalines merged 6 commits intomainfrom
parallel-sql-format

Conversation

@Nutomic
Copy link
Copy Markdown
Member

@Nutomic Nutomic commented Jun 11, 2025

With this change sql formatting takes around 4s locally instead of 17s, and ci also gets faster.

Comment thread .woodpecker.yml

sql_fmt:
image: alpine:3
image: *rust_image
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to change this to have xargs -L available.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird that alpine doesn't support it, oh well.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alpine uses busybox, so the commands have much less parameters available. It would work but in my local testing it was much faster using -L

Comment thread .woodpecker.yml

sql_fmt:
image: alpine:3
image: *rust_image
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird that alpine doesn't support it, oh well.

@dessalines dessalines merged commit 896e8f1 into main Jun 11, 2025
2 checks passed
@Nothing4You Nothing4You deleted the parallel-sql-format branch September 11, 2025 17:34
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.

3 participants