From 21e9dec66e0ec3737faa69fe411b244dea9ad5a2 Mon Sep 17 00:00:00 2001 From: Ulrich Kramer Date: Thu, 19 Dec 2024 08:03:12 +0100 Subject: [PATCH] [CALCITE-6728] Introduce new methods to lookup tables and schemas inside schemas --- .../java/org/apache/calcite/schema/lookup/CachedLookup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/calcite/schema/lookup/CachedLookup.java b/core/src/main/java/org/apache/calcite/schema/lookup/CachedLookup.java index 2ea1dc7617e..82fc097cd1a 100644 --- a/core/src/main/java/org/apache/calcite/schema/lookup/CachedLookup.java +++ b/core/src/main/java/org/apache/calcite/schema/lookup/CachedLookup.java @@ -62,7 +62,7 @@ private NameMap loadNameMap() { for (String name : delegate.getNames(LikePattern.any())) { T entry = delegate.get(name); if (entry != null) { - map.put(name, delegate.get(name)); + map.put(name, entry); } } return map;