You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So if the column validation failed before the feature flag check, it won’t return error like TABLE_FEATURE_NOT_ENABLED, instead it will return table related stuff. We should do feature checks before these validations happen.
For example, with Feature-Flag-tables set as False
I can reproduce this, but the problem unfortunately seems to difficult to resolve. The problem is that this "validation" is part of JSON deserialization of CreateTableCommand by Quarkus (using Jackson) which converts from column type String into ColumnDataType via ColumnType. And lookup for ColumnType throws the exception.
ApiFeature checking can only be done when in KeyspaceResource.postCommand(), but to get there, KeyspaceCommand must have been deserialized; doing which throws exception.
Not sure if or how this could be resolved: will create a PR simply reproducing the issue first.
So if the column validation failed before the feature flag check, it won’t return error like TABLE_FEATURE_NOT_ENABLED, instead it will return table related stuff. We should do feature checks before these validations happen.
For example, with Feature-Flag-tables set as False
The text was updated successfully, but these errors were encountered: