This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 892e53a15b [fix](test) fix a test failure problem after merging
(#12902)
892e53a15b is described below
commit 892e53a15bc2c22ec7661a53a8b242b3e9b98f04
Author: ElvinWei <[email protected]>
AuthorDate: Fri Sep 23 14:22:29 2022 +0800
[fix](test) fix a test failure problem after merging (#12902)
---
.../test/java/org/apache/doris/statistics/SQLStatisticsTaskTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/test/java/org/apache/doris/statistics/SQLStatisticsTaskTest.java
b/fe/fe-core/src/test/java/org/apache/doris/statistics/SQLStatisticsTaskTest.java
index b813e2a7a3..7abf675223 100644
---
a/fe/fe-core/src/test/java/org/apache/doris/statistics/SQLStatisticsTaskTest.java
+++
b/fe/fe-core/src/test/java/org/apache/doris/statistics/SQLStatisticsTaskTest.java
@@ -75,9 +75,9 @@ public class SQLStatisticsTaskTest {
List<PrimitiveType> types = Arrays.asList(PrimitiveType.STRING,
PrimitiveType.INT, PrimitiveType.FLOAT,
PrimitiveType.DOUBLE, PrimitiveType.BIGINT);
- InternalQueryResult queryResult = new InternalQueryResult(columns,
types);
+ InternalQueryResult queryResult = new InternalQueryResult();
InternalQueryResult.ResultRow resultRow =
- new
InternalQueryResult.ResultRow(Collections.singletonList("1000"));
+ new InternalQueryResult.ResultRow(columns, types,
Collections.singletonList("1000"));
queryResult.getResultRows().add(resultRow);
new MockUp<InternalQuery>(InternalQuery.class) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]