Skip to content

Commit

Permalink
Reviewing
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard Wolters committed May 30, 2024
1 parent ace9a61 commit 7cf1ab5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ trait AggregationFunctionTokenizer { this: ClickhouseTokenizerModule =>
val combinators = tokenizedCombinators.map(_._1).mkString("")
val combinatorsValues = tokenizedCombinators.flatMap(_._2).mkString(ctx.delimiter)
val (function, values) = tokenizeInnerAggregatedFunction(extractTarget(nested))
val separator = if (values.isEmpty || combinatorsValues.isEmpty) "" else ", "
val separator = if (values.isEmpty || combinatorsValues.isEmpty) "" else ctx.delimiter
s"$function$combinators($values$separator$combinatorsValues)"
case timeSeries: TimeSeries => tokenizeTimeSeries(timeSeries)
case aggregated: AggregateFunction[_] =>
Expand Down

0 comments on commit 7cf1ab5

Please sign in to comment.