Skip to content

docs: specify SQLite type for bare filename example - #1780

Open
dajiaohuang wants to merge 1 commit into
dimitri:mainfrom
dajiaohuang:repostew/20261016-readme-sqlite-type
Open

dajiaohuang wants to merge 1 commit into
dimitri:mainfrom
dajiaohuang:repostew/20261016-readme-sqlite-type

Conversation

@dajiaohuang

Copy link
Copy Markdown

Problem

The v4 SQLite example supplies a bare .db filename, but URI-pair mode passes it into the LOAD DATABASE grammar without a scheme. The published v4-dev JAR at main 231ab86778ca5ffd7de40878714760c8b4860cdf exits 1 with Error building inline command at FROM tiny.db when reproducing the example with a tiny self-authored SQLite file.

Correction

Add the already-supported --type sqlite flag to the example. The CLI then constructs a SQLite source URI; no implementation or inference behavior is changed.

Validation

With a self-authored two-table SQLite database and fresh task-owned PostgreSQL 17.6 cluster (Java 26, matching official v4-dev JAR):

  • Bare filename, --dry-run: parser error, exit 1.
  • Same filename plus --type sqlite, --dry-run: connections OK, exit 0.
  • Same corrected command without --dry-run, targeting a newly created empty database: exit 0; SQL queries verify both tables contain exactly the two expected rows.

No user database/configuration or default PostgreSQL service was used. Documentation-only change; no full integration matrix or CI pass claimed.

This branch has not been deployed

No deployments
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