Skip to content

Add IsUtilityStmt to return whether statements are utility statements#146

Merged
lfittl merged 1 commit intomainfrom
add-is-utility-helper
Jan 28, 2026
Merged

Add IsUtilityStmt to return whether statements are utility statements#146
lfittl merged 1 commit intomainfrom
add-is-utility-helper

Conversation

@lfittl
Copy link
Member

@lfittl lfittl commented Jan 28, 2026

This avoids having to deal with Protobuf serialization/deserialization when the caller is only interested to know if the input statements are utility statements. As a side effect, this method also allows inferring the number of statements (separated by ";") in the input.

Note on AI use: I used Claude Code for the initial version, but edited the implementation to simplify it, and adjusted comments.

This avoids having to deal with Protobuf serialization/deserialization
when the caller is only interested to know if the input statements are
utility statements. As a side effect, this method also allows inferring
the number of statements (separated by ";") in the input.
@lfittl lfittl requested a review from a team January 28, 2026 05:19
@lfittl lfittl mentioned this pull request Jan 28, 2026
@lfittl lfittl merged commit 926ef9b into main Jan 28, 2026
4 checks passed
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

Comments