[ 
https://issues.apache.org/jira/browse/CALCITE-4753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404692#comment-17404692
 ] 

Paweł Łoziński commented on CALCITE-4753:
-----------------------------------------

The PR basically boils down to adding a getter for what's already present in 
the FunctionContext, so not sure how much testing you'd require. I added a 
basic check in the existing test of a function initialized with a context. 
Happy to discuss how this can be extended in a meaningful way.

> Extend FunctionContext with a DataContext getter
> ------------------------------------------------
>
>                 Key: CALCITE-4753
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4753
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Paweł Łoziński
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Certain functions may need access to information stored in the DataContext 
> during execution. Since it is already present in FunctionContext 
> implementation, the proposal would be to expose it via a getter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to