feat: support multiple --url arguments with per-URL format and headers#211
Merged
Conversation
- Allow repeatable --url flag (--url URL1 --url URL2 ...) - Support named URLs: --url NAME=URL - Per-URL format: --url URL --input-format json - Per-URL headers: --url URL --http-header 'X: 1' - Global --max-body-size applies to all URLs - Anonymous URLs get table names url0, url1, ... - Named URLs use custom table name - stdin table name: 'stdin' when URLs/files exist, else 't' - Updated --schema and --stats modes for multiple URLs - Updated shell completions
- Add explicit -I json for JSON HTTP endpoints in tests - Fix global input_format_explicit fallback for URLs - Update test table names to url0/stdin - Update duplicate table name test for new stdin naming
- Remove duplicate --input-format handler (was setting input_format_explicit globally, overriding per-URL format) - Remove unused error variants (UrlFormatRequiresUrl, UrlFlagsRequireUrl) - Clarify help text for per-URL flag behavior - Add integration test for per-URL --input-format and --http-header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements support for multiple arguments with per-URL format and headers.
Changes
Core Features
Table Naming
Updated Modes
Shell Completions
Testing
Breaking Changes
Files Modified