Skip to content

chore: advance sqlfluff sha past Snowflake GROUP BY ALL (#4976) - #3071

Open
benfdking wants to merge 1 commit into
port/sqlfluff-4973from
port/sqlfluff-4976
Open

chore: advance sqlfluff sha past Snowflake GROUP BY ALL (#4976)#3071
benfdking wants to merge 1 commit into
port/sqlfluff-4973from
port/sqlfluff-4976

Conversation

@benfdking

Copy link
Copy Markdown
Collaborator

Stacked on sqruff #3070. Merge #3070 first.

Base PR: #3070

Summary

  • SQLFluff #4976 adds ALL support to the Snowflake GroupByClauseSegment (group by all).
  • The equivalent change is already present in sqruff, so this is a SHA-advance-only port:
    • crates/lib-dialects/src/snowflake.rs already lists Ref::keyword("ALL") in the GroupByClauseSegment one_of.
    • The group_by_all.sql and group_by_all.yml fixtures already exist under crates/lib-dialects/test/fixtures/dialects/snowflake/sqlfluff/.
  • Advances .sqlfluff-sha by one first-parent commit to keep the port sequence in order.

Verification

  • .sqlfluff-sha advanced from 9793de59d54416649c45cb4341d2e2068497a1e2a20005a6647dbd7fc4ac228897db5b0d776defa7, whose parent is exactly the previous SHA (correct single-commit advance on SQLFluff's first-parent main).
  • cargo build and the Snowflake dialect tests (cargo test -p sqruff-lib-dialects) pass; the group_by_all fixture parses correctly.
  • The only Bazel target consuming this file is //:verify_sqlfluff_sha, which validates the SHA points to a real commit; it will pass in CI (local run hit a 403 only because the sandbox proxy blocks api.github.com). The SHA is a valid 40-char hex and resolves to the upstream commit. No Rust code or tests are otherwise affected.

Ported from SQLFluff a20005a6647dbd7fc4ac228897db5b0d776defa7
sqlfluff/sqlfluff#4976
sqlfluff/sqlfluff@a20005a


Generated by Claude Code

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Benchmark for 5d403db

Click to view benchmark
Test Base PR %
DepthMap::from_parent 118.7±1.43µs 116.3±2.82µs -2.02%
fix_complex_query 13.4±0.11ms 13.6±0.09ms +1.49%
fix_superlong 141.9±7.45ms 139.7±8.78ms -1.55%
parse_complex_query 4.3±0.06µs 4.2±0.06µs -2.33%
parse_expression_recursion 7.1±0.04µs 7.0±0.16µs -1.41%
parse_simple_query 1039.9±26.85ns 1041.6±7.21ns +0.16%

## Summary
- SQLFluff #4976 adds `ALL` support to the Snowflake `GroupByClauseSegment`.
  The equivalent change is already present in sqruff: `crates/lib-dialects/src/snowflake.rs`
  already lists `Ref::keyword("ALL")` in the `GroupByClauseSegment` `one_of`, and the
  `group_by_all` SQL + YAML fixtures already exist under
  `crates/lib-dialects/test/fixtures/dialects/snowflake/sqlfluff/`.
- No new code or fixtures are needed; this advances `.sqlfluff-sha` by one first-parent
  commit to keep the port sequence in order.

Ported from SQLFluff a20005a6647dbd7fc4ac228897db5b0d776defa7
sqlfluff/sqlfluff#4976
sqlfluff/sqlfluff@a20005a

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q6q9rWEpz9E9GcSrApvWzR
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Benchmark for 4c0855d

Click to view benchmark
Test Base PR %
DepthMap::from_parent 118.7±0.96µs 117.9±2.58µs -0.67%
fix_complex_query 13.4±0.07ms 13.3±0.09ms -0.75%
fix_superlong 132.6±5.06ms 140.8±8.16ms +6.18%
parse_complex_query 4.2±0.06µs 4.2±0.06µs 0.00%
parse_expression_recursion 7.0±0.09µs 7.2±0.09µs +2.86%
parse_simple_query 1023.2±12.31ns 1017.8±11.21ns -0.53%

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.

2 participants