Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[coverage] Conformance findings: CUSTOMHDR-002

オープン 初心者向け
#494 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go
領域
api

調査の方向性

Goクライアントで、ExecuteStatement / Statement Execution APIリクエストに対する Accept-Encoding やgzipトランスポートの設定箇所を検索し(Accept-Encoding、gzip、identity でgrep)、HTTPクライアントの圧縮設定がどのように構成されているかを確認してください。修正は、仕様の要求通りExecuteStatementで identity を送信することです。完了の条件は、カバレッジPR(databricks/databricks-driver-test#1765)の TestSEARequestsDeclineResponseCompressionByDefault がこのドライバーに対してパスすることです。参照PR databricks/databricks-jdbc#1723 が別の言語での期待される動作を示しています。

索引モデルが issue の本文から書いたものです。

説明

Summary

Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-go. 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-go) is fixed, then flips green as a tripwire.

Findings

  • CUSTOMHDR-002 [sea]: SEA statements client sends Accept-Encoding: gzip on ExecuteStatement instead of the explicit identity default, gzipping already-compressed base64-of-LZ4-Arrow inline results (wasted CPU on both ends; the gzipped JSON envelope can be larger on the wire than the raw bytes)
    • failing test: TestSEARequestsDeclineResponseCompressionByDefault (see the coverage PR diff under tests/)

Reproduce & Expected

CUSTOMHDR-002 — SEA (Statement Execution API) inline results are LZ4-compressed Arrow, base64-encoded and wrapped in a JSON envelope.

Reproduce:

SELECT 1 AS value

Expected (per the shared spec):

  • result has exactly 1 row(s)
  • col 0, row 0 == 1 (type Int32)
  • full assertion contract:
result:
- row_count: 1
- column:
    index: 0
    row: 0
    type: Int32
    equals: 1
protocol:
  sea:
  - request_header:
      operation: ExecuteStatement
      name: Accept-Encoding
      equals: identity

Context

主要言語
Go
スター
53
フォーク
67
平均マージ
1日 2時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

databricks/databricks-sql-go のほかの issue

databricks/databricks-sql-go の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。