diff --git a/sql/src/main/java/org/apache/druid/sql/calcite/run/DruidHook.java b/sql/src/main/java/org/apache/druid/sql/calcite/run/DruidHook.java index 99aa44da0a3..c790033ab7f 100644 --- a/sql/src/main/java/org/apache/druid/sql/calcite/run/DruidHook.java +++ b/sql/src/main/java/org/apache/druid/sql/calcite/run/DruidHook.java @@ -97,6 +97,7 @@ public interface DruidHook }; } + @SuppressWarnings({"rawtypes", "unchecked"}) static void dispatch(HookKey key, T object) { List> hooks = GLOBAL.get(key);