Skip to content

SQLite: Support << and >> bitwise shift operators - #2657

Open
LucaCappelletti94 wants to merge 1 commit into
upstream/sqlite-bitwise-precedencefrom
sqlite-shift-operators
Open

LucaCappelletti94 wants to merge 1 commit into
upstream/sqlite-bitwise-precedencefrom
sqlite-shift-operators

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Contributor

SQLite has the bitwise shift operators << and >>, listed in its operator table at the same precedence as & and | (https://www.sqlite.org/lang_expr.html#operators), but SELECT a << 1 FROM t failed to parse with the SQLite dialect (No infix parser for token ShiftLeft).

SQLiteDialect now enables supports_bitwise_shift_operators.

@LucaCappelletti94 LucaCappelletti94 added enhancement New feature or request SQLite labels Oct 17, 2026
@codecov-commenter

codecov-commenter commented Oct 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.30%. Comparing base (4310076) to head (72add0a).

Additional details and impacted files
@@                         Coverage Diff                         @@
##           upstream/sqlite-bitwise-precedence    #2657   +/-   ##
===================================================================
  Coverage                               81.30%   81.30%           
===================================================================
  Files                                      42       42           
  Lines                                   33955    33958    +3     
  Branches                                33955    33958    +3     
===================================================================
+ Hits                                    27606    27609    +3     
  Misses                                   2785     2785           
  Partials                                 3564     3564           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LucaCappelletti94
LucaCappelletti94 changed the base branch from main to upstream/sqlite-bitwise-precedence October 18, 2026 16:21
@LucaCappelletti94
LucaCappelletti94 marked this pull request as ready for review October 18, 2026 16:52
@LucaCappelletti94
LucaCappelletti94 added this pull request to stack #2684 October 18, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request SQLite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants