stargate / data-api

JSON document API for Apache Cassandra (formerly known as JSON API)
https://stargate.io
Apache License 2.0
14 stars 16 forks source link

alterTable with e.g. `"add": {}` gives a 500 Internal Server Error #1681

Open hemidactylus opened 1 week ago

hemidactylus commented 1 week ago

"Server failed: root cause: (java.lang.IllegalStateException) columnsToAdd must be non null and non empty.", while a graceful "regular" error is probably the right thing to do

amorton commented 2 days ago

fix: need to handle no operations and operations that a empty.