Skip to content

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

Open
LucaCappelletti94 wants to merge 1 commit into
mainfrom
sqlite-shift-operators
Open

LucaCappelletti94 wants to merge 1 commit into
mainfrom
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.52%. Comparing base (424378c) to head (e6a68e0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2657   +/-   ##
=======================================
  Coverage   81.52%   81.52%           
=======================================
  Files          42       42           
  Lines       34205    34208    +3     
  Branches    34205    34208    +3     
=======================================
+ Hits        27885    27888    +3     
  Misses       2770     2770           
  Partials     3550     3550           

☔ 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 marked this pull request as draft October 18, 2026 14:12
@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
Base automatically changed from upstream/sqlite-bitwise-precedence to main October 20, 2026 23:21

@s5dsn-eqee s5dsn-eqee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

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.

3 participants