Amazon Athena driver

Đang mở
#2,475 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
aws, swift
Lĩnh vực
databases

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Swift
Star
6.2k
Fork
412
Merge trung bình
3 giờ 56 phút
Pull request đã merge (30 ngày)
669

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TableProApp/TablePro

Tất cả issue của TableProApp/TablePro

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.