FrankChen021 commented on code in PR #13071:
URL: https://github.com/apache/druid/pull/13071#discussion_r990611048


##########
extensions-core/multi-stage-query/src/test/java/org/apache/druid/msq/sql/MSQModeTest.java:
##########
@@ -22,34 +22,36 @@
 import com.google.common.collect.ImmutableMap;
 import org.apache.druid.java.util.common.ISE;
 import org.apache.druid.msq.indexing.error.MSQWarnings;
-import org.apache.druid.query.QueryContext;
 import org.junit.Assert;
 import org.junit.Test;
 
+import java.util.Collections;
+import java.util.Map;
+
 public class MSQModeTest
 {
 
   @Test
   public void testPopulateQueryContextWhenNoSupercedingValuePresent()
   {
-    QueryContext originalQueryContext = new QueryContext();
+    Map<String, Object> originalQueryContext = Collections.emptyMap();

Review Comment:
   ```suggestion
       Map<String, Object> originalQueryContext = new HashMap();
   ```
   
   Assigned with `Collections.emptyMap` causes the UT failed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to