You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2025/02/05 16:39:00 UTC
[jira] [Created] (IMPALA-13738) Extract common code of IcebergTable and HdfsTable to a helper class
Zoltán Borók-Nagy created IMPALA-13738:
------------------------------------------
Summary: 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: Noemi Pap-Takacs
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)