This is an automated email from the ASF dual-hosted git repository.

progers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new aceeac91d4 Fix MSQ IT test (#13808)
aceeac91d4 is described below

commit aceeac91d4f46f834ceab78a59d4d51b19ac768f
Author: Adarsh Sanjeev <[email protected]>
AuthorDate: Wed Feb 22 21:44:46 2023 +0530

    Fix MSQ IT test (#13808)
---
 .../test/resources/multi-stage-query/wikipedia_merge_index_msq.sql | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/integration-tests-ex/cases/src/test/resources/multi-stage-query/wikipedia_merge_index_msq.sql
 
b/integration-tests-ex/cases/src/test/resources/multi-stage-query/wikipedia_merge_index_msq.sql
index 1e04e38436..6ebd5ac3f2 100644
--- 
a/integration-tests-ex/cases/src/test/resources/multi-stage-query/wikipedia_merge_index_msq.sql
+++ 
b/integration-tests-ex/cases/src/test/resources/multi-stage-query/wikipedia_merge_index_msq.sql
@@ -13,8 +13,11 @@ SELECT
   SUM("added") AS "added",
   SUM("deleted") AS "deleted",
   SUM("delta") AS "delta",
-  EARLIEST("user", 128) AS "first_user",
-  LATEST("user", 128) AS "last_user"
+-- Disabled due to https://github.com/apache/druid/issues/13824. To be 
reverted once issue is resolved.
+--  EARLIEST("user", 128) AS "first_user",
+--  LATEST("user", 128) AS "last_user"
+  EARLIEST_BY("user", CASE WHEN CAST("timestamp" AS BIGINT) > 0 THEN 
MILLIS_TO_TIMESTAMP(CAST("timestamp" AS BIGINT)) ELSE TIME_PARSE("timestamp") 
END, 128) AS "first_user",
+  LATEST_BY("user", CASE WHEN CAST("timestamp" AS BIGINT) > 0 THEN 
MILLIS_TO_TIMESTAMP(CAST("timestamp" AS BIGINT)) ELSE TIME_PARSE("timestamp") 
END, 128) AS "last_user"
 FROM "source"
 GROUP BY 1, 2
 PARTITIONED BY DAY
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to