[ 
https://issues.apache.org/jira/browse/SPARK-53924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated SPARK-53924:
----------------------------------
        Parent: SPARK-51166
    Issue Type: Sub-task  (was: Improvement)

> Reload DSv2 tables in views created using plans on each access
> --------------------------------------------------------------
>
>                 Key: SPARK-53924
>                 URL: https://issues.apache.org/jira/browse/SPARK-53924
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Anton Okolnychyi
>            Assignee: Anton Okolnychyi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> The current problem is that the view definition in the session catalog 
> captures the analyzed plan that references DataSourceV2Relation and Table. If 
> a connector doesn’t have an internal cache and produces a new Table object 
> after TableCatalog$load, Table referenced in the view will become orphan and 
> there will be no way to refresh it unless that Table instance auto refreshes 
> on each scan (super dangerous).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to