Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vmvarela/sql-pipe
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.12.0
Choose a base ref
...
head repository: vmvarela/sql-pipe
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.13.0
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Jun 13, 2026

  1. feat: auto-detect input format from file extension with -I override (#…

    …164)
    
    * feat: auto-detect input format from file extension with -I override
    
    - Add input_format_explicit flag to track when -I is explicitly set
    - When -I is set, it overrides file extension auto-detection for all files
    - When -I is not set, auto-detect from .csv/.tsv/.json/.ndjson/.xml extensions
    - Ambiguous extensions (.txt, .dat) default to CSV
    - Stdin always uses -I value (no filename to inspect)
    - Add 8 integration tests (157a-157h) covering auto-detection and override
    - Update fixture test 14 to use file auto-detection instead of stdin + -I
    - Document auto-detection and -I override in README, man page, and --help
    
    Closes #158
    
    * fix: propagate auto-detected format to special modes and validation checks
    
    Compute effective_input_format from per-file auto-detection when a file
    argument is present, and use it for:
    - --columns, --validate, --sample mode dispatch (Issue A)
    - --json-path validation (Issue B)
    - --xml-root/--xml-row name validation (Issue C)
    
    Previously these paths used the global input_format (default CSV or
    explicit -I value), causing auto-detected .tsv/.json/.xml files to be
    parsed as CSV in special modes and valid --json-path invocations to be
    rejected.
    vmvarela authored Jun 13, 2026
    Configuration menu
    Copy the full SHA
    a1c4fa7 View commit details
    Browse the repository at this point in the history
  2. feat: read SQL query from file with -f/--file flag (#157) (#165)

    * feat: read SQL query from file with -f/--file flag (#157)
    
    * fix: memory leak, MissingQuery handler, and empty -f path guard (#157)
    
    * fix: guard against empty query file with clear error message (#157)
    
    * docs: add -f/--file flag to README (#157)
    
    * docs: add -f/--file flag to man page (#157)
    
    * fix: conflict checks, multiple -f detection, whitespace trim (#157)
    
    - Add conflict checks for -f with --columns/--validate/--sample
    - Detect multiple -f/--file flags (error: only one allowed)
    - Trim whitespace from query file before empty check
    - Add 6 integration tests (157h-157l) for new error paths
    - Update man page SYNOPSIS with stdin form
    vmvarela authored Jun 13, 2026
    Configuration menu
    Copy the full SHA
    2a0a866 View commit details
    Browse the repository at this point in the history
Loading