Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Jul 24, 2024
1 parent 6cf0dd1 commit 1dd7c2b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/frontend/src/binder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ mod tests {
UnnamedExpr(
Function(
Function {
aggregate: false,
name: ObjectName(
[
Ident {
Expand Down Expand Up @@ -892,7 +893,9 @@ mod tests {
select_items: [
AggCall(
AggCall {
agg_kind: ApproxPercentile,
agg_kind: Builtin(
ApproxPercentile,
),
return_type: Float64,
args: [
FunctionCall(
Expand Down Expand Up @@ -933,30 +936,29 @@ mod tests {
direct_args: [
Literal {
data: Some(
Decimal(
Normalized(
Float64(
OrderedFloat(
0.5,
),
),
),
data_type: Some(
Decimal,
Float64,
),
},
Literal {
data: Some(
Decimal(
Normalized(
Float64(
OrderedFloat(
0.01,
),
),
),
data_type: Some(
Decimal,
Float64,
),
},
],
user_defined: false,
},
),
],
Expand Down

0 comments on commit 1dd7c2b

Please sign in to comment.