rtk-ai/rtk

Feature request: filter for `bq` (BigQuery CLI)

Open

#1,707 建立於 2026年5月4日

在 GitHub 查看
 (2 留言) (1 反應) (0 負責人)Rust (2,914 fork)batch import
area:clienhancementhelp wantedpriority:medium

倉庫指標

Star
 (48,085 star)
PR 合併指標
 (平均合併 11天 1小時) (30 天內合併 45 個 PR)

描述

Command

bq query, bq ls, bq show, bq (generic)

Usage frequency (from rtk discover)

  • bq query: 684x
  • bq (generic): 334x
  • bq ls: 133x
  • bq show: 99x
  • Total: ~1,250 invocations

Why it matters

BigQuery CLI output is very verbose — bq query returns full JSON result sets, bq show dumps full table schemas with statistics, bq ls lists datasets/tables with metadata. Most of this content is noise for the LLM.

Suggested filter behavior

  • bq query: keep column headers + first N rows, strip jobComplete, totalRows, cacheHit, schema wrapper noise
  • bq ls: keep table/dataset names only, strip creationTime, lastModifiedTime, numBytes, numRows
  • bq show: keep schema field names + types only, strip tableReference, statistics, encryptionConfiguration

Environment

GCP / BigQuery CLI (google-cloud-sdk)

貢獻者指南