[coverage] Conformance findings: STATEMENT-022
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 70/100
Direção de pesquisa
Comece pelo caminho cancel() que encaminha para backend.cancel_command(active_command_id) e, em seguida, inspecione o teste com falha test_simultaneous_statement_cancellation no diff do PR de coverage em tests/. Está concluído quando o cancelamento simultâneo é concluído sem uma exceção e emite exatamente um RPC CancelOperation para o statement.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-python. Each finding is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT (post-fix) behavior and stays red until THIS driver (databricks/databricks-sql-python) is fixed, then flips green as a tripwire.
Findings
- STATEMENT-022 [thrift]: Thrift: Cursor.cancel() does not deduplicate concurrent cancels on the same statement — 3 threads emit 3 CancelOperation RPCs where the spec requires exactly 1, because cancel() forwards straight to backend.cancel_command(active_command_id) with no in-flight-cancel guard
- failing test:
test_simultaneous_statement_cancellation(see the coverage PR diff undertests/)
- failing test:
Reproduce & Expected
STATEMENT-022 — Validates driver handles multiple threads calling CancelOperation on same statement without deadlock or crash.
Reproduce:
SELECT a.*, b.* FROM main.tpcds_sf1_delta.catalog_returns a CROSS JOIN range(1, 10000) b ORDER BY a.cr_order_number, b.id
Expected (per the shared spec):
- completes without an exception
- [thrift] exactly 1
CancelOperationcall(s) - [sea] between 1 and 3
CancelStatementcall(s)
Context
- The behavior was first fixed in a DIFFERENT driver — reference PR: https://github.com/adbc-drivers/databricks/pull/614 — which seeded the shared language-neutral spec. This issue tracks the same conformance gap in databricks/databricks-sql-python; the reference PR is for cross-referencing the intended behavior, NOT a change to this repo.
- Coverage PR carrying the reproducing xfail test(s): https://github.com/databricks/databricks-driver-test/pull/1069
- Linguagem predominante
- Python
- Estrelas
- 236
- Forks
- 162
- Merge médio
- 13h 13min
- PRs com merge (30d)
- 23
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de databricks/databricks-sql-python
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
databricks/databricks-sql-python#1034 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
databricks/databricks-sql-python#1012 ·
Mantenedores costumam responder em até 1 dia
-
Token federation: `_exchange_token` raises KeyError('access_token') on error responses, discarding the real failure reasonTalvez já em andamento @TangoEnSkai assumiu há 82 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
databricks/databricks-sql-python#904 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
databricks/databricks-sql-python#865 ·
Mantenedores costumam responder em até 1 dia
-
engineer-bot
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
databricks/databricks-sql-python#860 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de databricks/databricks-sql-python
Issues semelhantes
-
AI bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
btclib-org/btclib-wallet#872 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: Scheduled returns scan all accepted minion keys causing extreme loadTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertabug needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
saltstack/salt#70789 · 1 comentário ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 87/100
btclib-org/btclib#3093 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia