prashantwason commented on code in PR #8758:
URL: https://github.com/apache/hudi/pull/8758#discussion_r1231391720
##########
hudi-common/src/main/java/org/apache/hudi/common/table/view/FileSystemViewManager.java:
##########
@@ -189,12 +189,12 @@ public static HoodieTableFileSystemView
createInMemoryFileSystemViewWithTimeline
HoodieMetadataConfig metadataConfig,
HoodieTimeline timeline) {
LOG.info("Creating InMemory based view for basePath " +
metaClient.getBasePath());
- if (metadataConfig.enabled()) {
+ if (metaClient.getTableConfig().isMetadataTableEnabled()) {
return new HoodieMetadataFileSystemView(engineContext, metaClient,
timeline, metadataConfig);
}
if (metaClient.getMetaserverConfig().isMetaserverEnabled()) {
return (HoodieTableFileSystemView)
ReflectionUtils.loadClass(HOODIE_METASERVER_FILE_SYSTEM_VIEW_CLASS,
- new Class<?>[] {HoodieTableMetaClient.class, HoodieTimeline.class,
HoodieMetadataConfig.class},
+ new Class<?>[]{HoodieTableMetaClient.class, HoodieTimeline.class,
HoodieMetadataConfig.class},
metaClient, timeline, metaClient.getMetaserverConfig());
Review Comment:
reverted
--
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]