`describe_table` should describe tables outside the data source in Python
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with _describe_table_text() on the Python side, which currently raises when a table is missing from source.table_ids, and read the R change in #470 to see the intended behavior. The new cases belong in tests/shared/describe-table.json so both suites check the same results. Done means tables outside the data source are described with a no-documentation note, trusted-only mode still refuses them, and alternate names like main.sales resolve to the table's label.
索引モデルが issue の本文から書いたものです。
説明
Same thing as #469, but for the Python side.
In the R package, #470 lets describe_table describe any table the connection can query, not just the data source's tables, so it agrees with run_sql. Python's _describe_table_text() still raises when a table isn't in source.table_ids, so the agent can query a table it found with run_sql but can't describe it.
To match R:
- Describe tables outside the data source, with a note that no documentation covers them. On Snowflake and Databricks, run the usual access check first.
- Keep refusing them in trusted-only mode.
- Resolve alternate names for data source tables (
main.salesforsales) to the table's label, so its documentation still shows.
Pin these in tests/shared/describe-table.json so both suites test the same behavior.
- 主要言語
- Python
- スター
- 69
- フォーク
- 5
- 平均マージ
- 5日 16時間
- マージ済み PR(30日)
- 38
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/commons のほかの issue
-
Remove the `pull_request_target` workflow before GitHub blocks it対応中かも @jat255 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
posit-dev/commons#473 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 4 日以内に返信
posit-dev/commons の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
adafruit/Fruit-Jam-OS#98 ·
-
python triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/semantic-kernel#14753 ·
メンテナーはふだん 5 日以内に返信
-
area:cli area:configuration documentation priority:low size:small
難易度 1/5 1〜3時間 初心者へのやさしさ 80/100
RonaldHensbergen/composable-data-stack#1222 ·
メンテナーはふだん 1 日以内に返信
-
bug python
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pvlib/pvlib-python#2939 ·
メンテナーはふだん 1 日以内に返信