Skip to content

Rewrite in Bash + jq#5

Merged
fpopic merged 13 commits into
masterfrom
port-to-bash-jq
Mar 14, 2026
Merged

Rewrite in Bash + jq#5
fpopic merged 13 commits into
masterfrom
port-to-bash-jq

Conversation

@fpopic

@fpopic fpopic commented Mar 14, 2026

Copy link
Copy Markdown
Owner

This PR ports the BigQuery schema selection logic from Scala to a lightweight Bash + jq implementation.

Key Changes:

  • bq-schema-select.sh: New main script using recursive jq filtering.
  • run-tests.sh: New test runner to verify logic against sample schemas.
  • Refactoring: Moved test resources to test-resources/.
  • Cleanup: Removed Scala-specific build files (build.sbt, project/, src/, etc.).
  • Documentation: Updated README.md with new usage instructions.

The new implementation is faster, has zero dependencies other than jq, and is easier to distribute.

@fpopic fpopic merged commit b580f6f into master Mar 14, 2026
2 checks passed
@fpopic fpopic deleted the port-to-bash-jq branch March 14, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant