File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
core/src/main/java/org/apache/calcite/adapter/jdbc Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 27
27
import org .apache .calcite .rel .type .RelDataTypeSystem ;
28
28
import org .apache .calcite .rel .type .RelProtoDataType ;
29
29
import org .apache .calcite .schema .*;
30
- import org .apache .calcite .schema .lookup .CachingLookup ;
31
30
import org .apache .calcite .schema .lookup .IgnoreCaseLookup ;
32
31
import org .apache .calcite .schema .lookup .LikePattern ;
33
32
import org .apache .calcite .schema .lookup .Lookup ;
@@ -88,7 +87,7 @@ public class TableNotFoundException extends RuntimeException {
88
87
final @ Nullable String schema ;
89
88
public final SqlDialect dialect ;
90
89
final JdbcConvention convention ;
91
- private final Lookup <Table > tables = new CachingLookup < Table >( new IgnoreCaseLookup <Table >() {
90
+ private final Lookup <Table > tables = new IgnoreCaseLookup <Table >() {
92
91
@ Override
93
92
public @ Nullable Table get (String name ) {
94
93
try (Stream <MetaImpl .MetaTable > s = getMetaTableStream (name )) {
@@ -102,7 +101,7 @@ public Set<String> getNames(LikePattern pattern) {
102
101
return s .map (it -> it .tableName ).collect (Collectors .toSet ());
103
102
}
104
103
}
105
- }) ;
104
+ };
106
105
private final Lookup <JdbcSchema > subSchemas = Lookup .empty ();
107
106
108
107
@ Experimental
You can’t perform that action at this time.
0 commit comments