Skip to content

Commit

Permalink
fix building velox
Browse files Browse the repository at this point in the history
  • Loading branch information
taiyang-li committed Mar 29, 2024
1 parent 4154926 commit 3deab1f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ object BackendSettings extends BackendSettingsApi {
windowExpression.windowFunction match {
case _: RowNumber | _: Rank | _: CumeDist | _: DenseRank | _: PercentRank |
_: NthValue | _: NTile | _: Lag | _: Lead =>
case aggrExpr: AggregateExpression if !aggrExpr.isInstanceOf[ApproximatePercentile] =>
case aggrExpr: AggregateExpression
if !aggrExpr.aggregateFunction.isInstanceOf[ApproximatePercentile] =>
case _ =>
allSupported = false
}
Expand Down

0 comments on commit 3deab1f

Please sign in to comment.