[BUG] `astra db dsbulk load --dry-run` always fails
Summary
On Astra CLI v1.0.2 (macOS Tahoe 26.1), astra db dsbulk load --dry-run fails with:
Operation failed: Expecting value after: -dryRun.
The CLI help presents --dry-run as a normal no-arg flag ([--dry-run]) with a boolean default, but it appears that the Astra CLI wrapper invokes DSBulk with -dryRun without passing the value.
Steps to reproduce
- Run dsbulk load with
--dry-run:
astra db dsbulk load dsbulk_demo_db -k demo_dsbulk -t orders_by_customer \ --url dsbulk_samples/orders_export.csv \ --skip-records 1 \ --header \ --dsbulk-config dsbulk_samples/dsbulk-timestamp.conf \ --dry-run \ --max-errors 25
- Also fails with explicit boolean assignment:
astra db dsbulk load dsbulk_demo_db -k demo_dsbulk -t orders_by_customer \ --url dsbulk_samples/orders_export.csv \ --skip-records 1 \ --header \ --dsbulk-config dsbulk_samples/dsbulk-timestamp.conf \ --dry-run=true \ --max-errors 25
Actual result
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by org.fusesource.hawtjni.runtime.Library in an unnamed module (file:/Users/ericschneider/.astra/dsbulk@v1/1.11.0/lib/jansi-1.18.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
Operation failed: Expecting value after: -dryRun.
(Additional Java native-access warnings are printed but appear unrelated; the failure is deterministic and specifically references -dryRun.)