Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Allow disabling remote signing in REST Catalog

オープン
#3,888 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
api, backend

調査の方向性

pyiceberg/catalog/rest/init.py の Table の構築箇所から始め、REST カタログのプロパティがどのように FileIO の設定に渡されるかを確認します。s3.signer の処理を追跡し、そのうえで、空のカタログプロパティによってリモート署名が無効化され、既存のレスポンス設定の動作が壊れないことを検証します。

索引モデルが issue の本文から書いたものです。

説明

Feature Request / Improvement

When using a REST Catalog (e.g. Lakekeeper), pyiceberg gets remote signing details from the catalog.

However, sometimes it would be useful to not use remote signing, in the case where the process performing the operations has access to the S3 endpoint through secret access keys. This is because remote signing requires a network round trip (plus any authorisation on server side).

It would be great if we could disable remote signing by respecting the s3.signer catalog property if it is empty.

The FileIO object gets created in pyiceberg/catalog/rest/__init__.py:

return Table(
    identifier=identifier_tuple,
    metadata_location=table_response.metadata_location,  # type: ignore
    metadata=table_response.metadata,
    io=self._load_file_io(
        {**table_response.metadata.properties, **table_response.config}, table_response.metadata_location
    ),
    catalog=self,
    config=table_response.config,
)

This doesn't use the catalog properties that have been passed to the REST catalog init as far as I can tell.

I might be wrong, but I don't think Support storage-credentials in REST catalog LoadTableResult- #3042
fixes this, because it still uses the response from the catalog.

Thanks!

主要言語
Python
スター
1.1k
フォーク
589
平均マージ
1日 20時間
マージ済み PR(30日)
68

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/iceberg-python のほかの issue

apache/iceberg-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。