New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CARBONDATA-4093] Added logs for MV and method to verify if mv is in Sync during query #4060
Conversation
Build Failed with Spark 2.4.5, Please check CI http://121.244.95.60:12444/job/ApacheCarbon_PR_Builder_2.4.5/3453/ |
Build Failed with Spark 2.3.4, Please check CI http://121.244.95.60:12444/job/ApacheCarbonPRBuilder2.3/5213/ |
Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12444/job/ApacheCarbon_PR_Builder_2.4.5/3455/ |
Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12444/job/ApacheCarbonPRBuilder2.3/5215/ |
core/src/main/java/org/apache/carbondata/core/statusmanager/SegmentStatusManager.java
Show resolved
Hide resolved
core/src/main/java/org/apache/carbondata/core/view/MVProvider.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/carbondata/core/view/MVManager.java
Outdated
Show resolved
Hide resolved
@@ -234,7 +247,16 @@ public static String getUpdatedSegmentMap(String mergedLoadName, | |||
public List<MVStatusDetail> getEnabledStatusDetails() throws IOException { | |||
List<MVStatusDetail> statusDetails = new ArrayList<>(); | |||
for (String database : this.getDatabases()) { | |||
statusDetails.addAll(this.getEnabledStatusDetails(database)); | |||
try { | |||
statusDetails.addAll(this.getEnabledStatusDetails(database)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since already it failed to access in getSchemas(database)
, please see if this is required or not, if not please revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is needed. as it try to get MV_STATUS file for all databases.
integration/spark/src/main/scala/org/apache/carbondata/view/MVManagerInSpark.scala
Outdated
Show resolved
Hide resolved
integration/spark/src/main/scala/org/apache/spark/sql/optimizer/MVRewriteRule.scala
Outdated
Show resolved
Hide resolved
Build Failed with Spark 2.3.4, Please check CI http://121.244.95.60:12444/job/ApacheCarbonPRBuilder2.3/5218/ |
Build Failed with Spark 2.4.5, Please check CI http://121.244.95.60:12444/job/ApacheCarbon_PR_Builder_2.4.5/3457/ |
Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12444/job/ApacheCarbonPRBuilder2.3/5223/ |
Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12444/job/ApacheCarbon_PR_Builder_2.4.5/3462/ |
LGTM |
Why is this PR needed?
Added logs for MV and method to verify if mv is in Sync during query
What changes were proposed in this PR?
Does this PR introduce any user interface change?
Is any new testcase added?