akashrn5 opened a new pull request #3257: [CARBONDATA-3309]Fix MV modular plan generation failure for spark 2.1
URL:
https://github.com/apache/carbondata/pull/3257
### Problem:
In Spark2.1 version, we have Metastore relation instead of HiveTableRelation as in current spark. So this case is not handled.
### Solution
When it is MetastoreRelaton, get the catalogTable and get all the info from it to form the ModularRelation, to form the modular plan. Reflection is used to fix this.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [x] Any interfaces changed?
NA
- [x] Any backward compatibility impacted?
NA
- [x] Document update required?
NA
- [x] Testing done
Existing UTs will take care
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
- [x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA
----------------------------------------------------------------
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:
[hidden email]
With regards,
Apache Git Services