mrproliu commented on code in PR #1209:
URL: 
https://github.com/apache/skywalking-banyandb/pull/1209#discussion_r3541586108


##########
pkg/bydbql/grammar.go:
##########
@@ -319,13 +323,15 @@ type GrammarOrderByWithIdent struct {
 // GrammarLimitClause represents LIMIT clause.
 type GrammarLimitClause struct {
        Limit string `parser:"@'LIMIT'"`
-       Value int    `parser:"@Int"`
+       Value int    `parser:"( @Int"`
+       Param bool   `parser:"| @Param )"`

Review Comment:
   Add a checker after parameter bound. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to