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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]