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

Fix commands against table with unsupported datatype, add IT ability to directly execute cqlStatement #1739

Open Yuqi-Du opened 3 days ago

Yuqi-Du commented 3 days ago

This PR fixes #1730 first, with the fix, Data API commands can be executed against table with unsupported dataType without failing ungracefully. E.G. Currently table does not support countCommands, so it should fail with UNSUPPORTED_TABLE_COMMAND

Also, this PR adds IT to cover the fix. Previously, we don't have the ability for Integration Tests to execute cql statement directly against C* backend. Now with this PR, we can do that, and then we can create cql tables with DataTypes that Data API does not support. fixes: #1731, https://datastax.jira.com/browse/C2-3799

Checklist