Skip to content

Commit

Permalink
Revise BaeseRule for PR 30249 (#30270)
Browse files Browse the repository at this point in the history
  • Loading branch information
strongduanmu authored Feb 24, 2024
1 parent 2c3eb0c commit 4102cc5
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,15 @@ distinct
;

specialFunction
: conversionFunction | charFunction | openJsonFunction | jsonFunction | openRowSetFunction | windowFunction | approxFunction | openDatasourceFunction | rowNumberFunction | graphFunction | trimFunction
: conversionFunction | charFunction | openJsonFunction | jsonFunction | openRowSetFunction
| windowFunction | approxFunction | openDatasourceFunction | rowNumberFunction | graphFunction
| trimFunction
;

trimFunction
: TRIM LP_ ((LEADING | BOTH | TRAILING) expr? FROM)? expr RP_
| TRIM LP_ (expr FROM)? expr RP_
;
trimFunction
: TRIM LP_ ((LEADING | BOTH | TRAILING) expr? FROM)? expr RP_
| TRIM LP_ (expr FROM)? expr RP_
;

graphFunction
: graphAggFunction
Expand Down

0 comments on commit 4102cc5

Please sign in to comment.