arina-ielchiieva commented on a change in pull request #1886: DRILL-7273:
Introduce operators for handling metadata
URL: https://github.com/apache/drill/pull/1886#discussion_r344791335
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/MetastoreAnalyzeTableHandler.java
##########
@@ -109,7 +108,8 @@ public PhysicalPlan getPlan(SqlNode sqlNode)
config.getConverter().getDefaultSchema(),
sqlAnalyzeTable.getSchemaPath());
DrillTable table = getDrillTable(drillSchema, sqlAnalyzeTable.getName());
- AnalyzeInfoProvider analyzeInfoProvider =
AnalyzeInfoProvider.getAnalyzeInfoProvider(TableType.getTableType(table.getGroupScan()));
+ AnalyzeInfoProvider analyzeInfoProvider =
context.getAnalyzeInfoProviderRegistry()
Review comment:
I think GroupScan shoulder return analyzeInfoProvider instance.
----------------------------------------------------------------
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