niuge01 commented on a change in pull request #3661: [CARBONDATA-3704] Support
create materialized view on all type table, and make mv support mutil-tenant.
URL: https://github.com/apache/carbondata/pull/3661#discussion_r401357265
##########
File path:
core/src/main/java/org/apache/carbondata/core/metadata/schema/table/CarbonTable.java
##########
@@ -876,6 +876,15 @@ public boolean hasMVCreated() throws IOException {
schema.getProviderName().equalsIgnoreCase(DataMapClassProvider.MV.toString()));
}
+ /**
+ * Return true if this table is a MV table (child table of other table)
+ */
+ public boolean isMVTable() {
+ String parentTables = tableInfo.getFactTable().getTableProperties()
+ .get(CarbonCommonConstants.PARENT_TABLES);
Review comment:
the 'isChildTableForMV' is a method of old mv implementation, it will be
removed when clean old mv implementation, we will do it in a new pr.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services