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

Boglarka Egyed reassigned IMPALA-13738:
---------------------------------------

    Assignee: Nándor Kollár  (was: Noémi Pap-Takács)

> Extract common code of IcebergTable and HdfsTable to a helper class
> -------------------------------------------------------------------
>
>                 Key: IMPALA-13738
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13738
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Catalog
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Nándor Kollár
>            Priority: Major
>              Labels: impala-iceberg
>
> Currently, IcebergTable has an underlying HdfsTable that gives us headaches 
> from time to time.
> We should identify the common data members and logic between IcebergTable and 
> HdfsTable and put them into a helper class and both IcebergTable and 
> HdfsTable would use that class internally.
> HdfsTable and IcebergTable have a common base interface FeFsTable, but we 
> cannot put useful code there.
> OTOH, HdfsTable and IcebergTable both extend Table, so as an alternative 
> option (to composition), it might be possible to put common code into a newly 
> introduced common base class:
> {noformat}
>         Table
>           ^
>           |
>        FsTable (NEW)
>           ^
>          / \
>         /   \
> HdfsTable  IcebergTable{noformat}



--
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