Skip to content

Commit

Permalink
Use correct ObjectMapper in BloomFilterSqlAggregationTest (#13616)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfaraz authored Dec 22, 2022
1 parent 30c7422 commit 594101e
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void testBloomFilterAgg() throws Exception
.build()
),
ImmutableList.of(
new Object[]{CalciteTests.getJsonMapper().writeValueAsString(expected1)}
new Object[]{queryFramework().queryJsonMapper().writeValueAsString(expected1)}
)
);
}
Expand Down Expand Up @@ -239,8 +239,8 @@ public void testBloomFilterTwoAggs() throws Exception
),
ImmutableList.of(
new Object[] {
CalciteTests.getJsonMapper().writeValueAsString(expected1),
CalciteTests.getJsonMapper().writeValueAsString(expected2)
queryFramework().queryJsonMapper().writeValueAsString(expected1),
queryFramework().queryJsonMapper().writeValueAsString(expected2)
}
)
);
Expand Down Expand Up @@ -288,7 +288,7 @@ public void testBloomFilterAggExtractionFn() throws Exception
.build()
),
ImmutableList.of(
new Object[]{CalciteTests.getJsonMapper().writeValueAsString(expected1)}
new Object[]{queryFramework().queryJsonMapper().writeValueAsString(expected1)}
)
);

Expand Down Expand Up @@ -335,7 +335,7 @@ public void testBloomFilterAggLong() throws Exception
.build()
),
ImmutableList.of(
new Object[]{CalciteTests.getJsonMapper().writeValueAsString(expected3)}
new Object[]{queryFramework().queryJsonMapper().writeValueAsString(expected3)}
)
);
}
Expand Down Expand Up @@ -388,7 +388,7 @@ public void testBloomFilterAggLongVirtualColumn() throws Exception
.build()
),
ImmutableList.of(
new Object[]{CalciteTests.getJsonMapper().writeValueAsString(expected1)}
new Object[]{queryFramework().queryJsonMapper().writeValueAsString(expected1)}
)
);
}
Expand Down Expand Up @@ -442,7 +442,7 @@ public void testBloomFilterAggFloatVirtualColumn() throws Exception
.build()
),
ImmutableList.of(
new Object[]{CalciteTests.getJsonMapper().writeValueAsString(expected1)}
new Object[]{queryFramework().queryJsonMapper().writeValueAsString(expected1)}
)
);
}
Expand Down Expand Up @@ -496,7 +496,7 @@ public void testBloomFilterAggDoubleVirtualColumn() throws Exception
.build()
),
ImmutableList.of(
new Object[]{CalciteTests.getJsonMapper().writeValueAsString(expected1)}
new Object[]{queryFramework().queryJsonMapper().writeValueAsString(expected1)}
)
);
}
Expand Down Expand Up @@ -540,8 +540,8 @@ public void testEmptyTimeseriesResults() throws Exception
),
ImmutableList.of(
new Object[] {
CalciteTests.getJsonMapper().writeValueAsString(expected1),
CalciteTests.getJsonMapper().writeValueAsString(expected2)
queryFramework().queryJsonMapper().writeValueAsString(expected1),
queryFramework().queryJsonMapper().writeValueAsString(expected2)
}
)
);
Expand Down Expand Up @@ -596,8 +596,8 @@ public void testGroupByAggregatorDefaultValues() throws Exception
ImmutableList.of(
new Object[] {
"a",
CalciteTests.getJsonMapper().writeValueAsString(expected1),
CalciteTests.getJsonMapper().writeValueAsString(expected2)
queryFramework().queryJsonMapper().writeValueAsString(expected1),
queryFramework().queryJsonMapper().writeValueAsString(expected2)
}
)
);
Expand Down

0 comments on commit 594101e

Please sign in to comment.