Amazon Athena driver

Aberta
#2,475 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
30/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
aws, swift
Domínio
databases

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Swift
Estrelas
6.2k
Forks
412
Merge médio
3h 56min
PRs com merge (30d)
669

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de TableProApp/TablePro

Todas as issues de TableProApp/TablePro

Issues semelhantes

Mais issues de Swift

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.