[
https://issues.apache.org/jira/browse/DRILL-7477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17048537#comment-17048537
]
ASF GitHub Bot commented on DRILL-7477:
---------------------------------------
vvysotskyi commented on pull request #2005: DRILL-7477: Allow passing table
function parameters into ANALYZE statement
URL: https://github.com/apache/drill/pull/2005
# [DRILL-7477](https://issues.apache.org/jira/browse/DRILL-7477): Allow
passing table function parameters into ANALYZE statement
## Description
Updated `parserImpls.ftl` to allow using table function in `ANALYZE`
statement, updated corresponding table handlers.
Added changes to `WorkspaceSchema` to use `MetadataProviderManager` for
table functions.
Updated `DrillTable` to return `EnumerableTableScan` instead of
`DrillScanRel` during sql to rel conversion to postpone group scan creation and
fix dirs pruning when table function is used.
## Documentation
NA
## Testing
Added tests to verify that table function is used when executing `ANALYZE`.
Added test to verify that dirs pruning is done when table function is used.
----------------------------------------------------------------
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]
> Allow passing table function parameters into ANALYZE statement
> --------------------------------------------------------------
>
> Key: DRILL-7477
> URL: https://issues.apache.org/jira/browse/DRILL-7477
> Project: Apache Drill
> Issue Type: Sub-task
> Affects Versions: 1.17.0
> Reporter: Vova Vysotskyi
> Assignee: Vova Vysotskyi
> Priority: Major
> Fix For: 1.18.0
>
>
> It would be useful to allow passing table function parameters into ANALYZE
> statement.
> One of the use-cases is to pass the inlined table schema to use it when
> producing ANALYZE.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)