-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexcept parse #4636
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Parse.g4:
dsl_stmt: (udf_stmt)* select_stmt hit_limit_clause record_config_clause ;
hit_limit_clause
: max_hits_limit min_hit_interval
;
max_hits_limit
: MAX_HITS_PER_HOUR NUMBER
;
min_hit_interval
: MIN_HIT_INTERVAL_SECONDS NUMBER
;
record_config_clause
: before_hit_time after_hit_time
;
before_hit_time
: RECORD_SECONDS_BEFORE_HIT NUMBER
;
after_hit_time
: RECORD_SECONDS_AFTER_HIT NUMBER
;
DSL:
max_hits_per_hour 30 min_hit_interval_seconds 120 record_seconds_before_hit 60 record_seconds_after_hit 10 max_hits_per_hour 30 min_hit_interval_seconds 120 record_seconds_before_hit 60 record_seconds_after_hit 10
'hit_limit_clause' and 'record_config_clause' appear twice, why it can match successfully?(C++)
The text was updated successfully, but these errors were encountered: