Amazon Athena driver

未關閉
#2,475 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
30/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
aws, swift
領域
databases

研究方向

Start by reading the existing DynamoDB and BigQuery plugins to understand how registry plugins handle authentication and connection settings. Then trace how connections, sidebar database objects, query cancellation, and query insights are implemented. Done means an Athena plugin supports the proposed API operations, connection options, Glue browsing, cancellation, and bytes-scanned insights.

由索引模型根據 Issue 內容生成。

描述

enhancement platform-macos
Problem

TablePro has no way to query Athena, so anyone working on S3 data through a Glue catalog has to leave the app for the AWS console.

Proposed solution

A registry plugin over the Athena API (StartQueryExecution, GetQueryExecution, GetQueryResults), signed with SigV4:

  • Auth by access key, AWS profile or AWS SSO, through the shared AWS code in apple/Plugins/TableProPluginKit/AWS/. AWSCredentialResolver.swift:72 already resolves all three, and a profile with a role_arn assumes that role. The DynamoDB plugin uses the same path (apple/Plugins/DynamoDBDriverPlugin/DynamoDBPlugin.swift:101).
  • Region, workgroup, catalog and S3 output location on the connection form.
  • Glue Data Catalog databases and tables in the sidebar.
  • Cancel mapped to StopQueryExecution.
  • Data scanned per query shown with the result, the way the BigQuery plugin reports bytes processed (apple/Plugins/BigQueryDriverPlugin/BigQueryPluginDriver+Execution.swift:291), since that is what an Athena query costs.
Alternatives considered

The Athena query editor in the AWS console. No saved connections, no local history, no export.

Platform

macOS

Related database type

N/A / General

主要語言
Swift
星號
6.2k
分支
412
平均合併
3 小時 56 分鐘
30 天內合併 PR
669

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

TableProApp/TablePro 的其他 Issue

查看 TableProApp/TablePro 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。