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 25, 2024
1 parent 093fd04 commit 2923096
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,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 2923096

Please sign in to comment.