Skip to content

Commit

Permalink
comment update
Browse files Browse the repository at this point in the history
  • Loading branch information
ohaibbq committed Feb 1, 2024
1 parent fa618fe commit b1d23e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ func (n *FilterScanNode) FormatSQL(ctx context.Context) (string, error) {
// Qualify the statement if the input is not wrapped in parens
queryWrappedInParens := currentQuery == ""
containsTokens := false
// or the input contains a token that would result in a syntax error
// and the input contains a token that would result in a syntax error
for _, token := range tokensAfterFromClause {
containsTokens = containsTokens || strings.Contains(currentQuery, token)
}
Expand Down

0 comments on commit b1d23e5

Please sign in to comment.