Skip to content

Bug Report: --on-ddl param is ignored silently for lowercase option names #19446

@chengyuan

Description

@chengyuan

Overview of the Issue

For the MoveTables command, the --on-ddl param takes only uppercase option names like EXEC. The command doesn't throw errors on lowercase names, nor does it actually apply the option. Option names like exec will fail silently.

Reproduction Steps

e.g. MoveTables create --workflow myworkflow --source-keyspace src --target-keyspae tgt --tables mytable --on-ddl exec
For this command, no error will be thrown, and the --on-ddl param is ignored silently

Binary Version

all versions

Operating System and Environment details

I don't think OS and Env matter, but this my machine.

------------
os-release
------------
PRETTY_NAME="Ubuntu 24.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.3 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo


--------
uname
--------
Linux 6.14.0-1018-aws

Log Fragments

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions