jamesstarr commented on a change in pull request #2378:
URL: https://github.com/apache/calcite/pull/2378#discussion_r742494848
##########
File path:
core/src/main/java/org/apache/calcite/rel/metadata/RelMetadataQueryBase.java
##########
@@ -62,49 +62,56 @@
* </ol>
*/
public class RelMetadataQueryBase {
+
//~ Instance fields --------------------------------------------------------
/** Set of active metadata queries, and cache of previous results. */
- public final Table<RelNode, Object, Object> map = HashBasedTable.create();
+ @Deprecated // to be removed before 2.0
+ public final Table<RelNode, Object, Object> map;
- public final @Nullable JaninoRelMetadataProvider metadataProvider;
+ @API(status = API.Status.INTERNAL)
+ public final MetadataCache cache;
+ protected final MetadataHandlerProvider metadataHandlerProvider;
+
+ @Deprecated // to be removed before 2.0
+ public final @Nullable JaninoRelMetadataProvider metadataProvider =
THREAD_PROVIDERS.get();
//~ Static fields/initializers ---------------------------------------------
+ @Deprecated // to be removed before 2.0
public static final ThreadLocal<@Nullable JaninoRelMetadataProvider>
THREAD_PROVIDERS =
new ThreadLocal<>();
- //~ Constructors -----------------------------------------------------------
-
Review comment:
I am doubtful any one inherited directly from RelMetadataQueryBase.
--
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]