[
https://issues.apache.org/jira/browse/IMPALA-15310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116349#comment-18116349
]
ASF subversion and git services commented on IMPALA-15310:
----------------------------------------------------------
Commit 66feec6ab6f9f7546e135be3a475782c71fc6bb4 in impala's branch
refs/heads/master from Aleksandr Efimov
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=66feec6ab ]
IMPALA-15310: Finalize REST catalog INSERT
Enable INSERT INTO for Iceberg tables loaded from named REST catalogs.
Carry the catalog name through DML finalization and reload the target
from the same provider. This keeps routing correct with CatalogD or
multiple REST catalogs without exposing endpoints or credentials.
Use a dedicated TIcebergDmlFinalizeRequest for coordinator-side
finalization. TUpdateCatalogRequest remains on the CatalogD route.
Keep OperationType on the READ/WRITE/ANY capability axis and pass the
INSERT context through ensureTableWriteSupported().
The configured REST catalog name selects the provider that finalizes
the write. Empty or duplicate names disable INSERT INTO instead of
selecting an ambiguous provider. The planning-time table UUID protects
the commit from finalizing against a replaced table.
Create and drop the REST DML test tables through the REST API from the
Python fixture. The Java REST test server remains a generic catalog
server.
Testing:
- Focused Maven package for the Iceberg REST catalog test server
- Python syntax checks for the REST fixture and its unit test
Full Java/Thrift and C++ validation requires the Gerrit dry run.
Change-Id: I7d17216fb8d12e5bd007b93cb9b3bc153438213b
Assisted-by: gpt-6-astra (OpenAI Codex)
Reviewed-on: http://gerrit.cloudera.org:8080/24682
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Enable INSERT INTO for Iceberg tables in REST catalogs
> ------------------------------------------------------
>
> Key: IMPALA-15310
> URL: https://issues.apache.org/jira/browse/IMPALA-15310
> Project: IMPALA
> Issue Type: Sub-task
> Components: Catalog, Frontend
> Reporter: Aleksandr Efimov
> Assignee: Aleksandr Efimov
> Priority: Major
> Labels: impala-iceberg
>
> Allow INSERT INTO on Iceberg tables loaded from a named REST catalog. The
> catalog name is carried through DML finalization so the target is reloaded
> from the same provider. That keeps routing correct when CatalogD and one or
> more REST catalogs are configured at the same time, without putting endpoints
> or credentials into the request.
> Builds on the shared finalizer from IMPALA-15308 and the planning-time UUID
> check from IMPALA-15309.
> Scope is INSERT INTO; the other DML statements are separate work.
> Review: https://gerrit.cloudera.org/#/c/24682/
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]