File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
core/src/main/java/com/scalar/db Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -889,6 +889,12 @@ public enum CoreError implements ScalarDbError {
889889 "Object Storage does not support the feature for altering column types" ,
890890 "" ,
891891 "" ),
892+ OBJECT_STORAGE_CLUSTERING_KEY_BLOB_TYPE_NOT_SUPPORTED (
893+ Category .USER_ERROR ,
894+ "0256" ,
895+ "The BLOB type is not supported for clustering keys in Object Storage. Column: %s" ,
896+ "" ,
897+ "" ),
892898
893899 //
894900 // Errors for the concurrency error category
Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ private void checkMetadata(TableMetadata metadata) {
477477 for (String clusteringKeyName : metadata .getClusteringKeyNames ()) {
478478 if (metadata .getColumnDataType (clusteringKeyName ) == DataType .BLOB ) {
479479 throw new IllegalArgumentException (
480- CoreError .COSMOS_CLUSTERING_KEY_BLOB_TYPE_NOT_SUPPORTED .buildMessage (
480+ CoreError .OBJECT_STORAGE_CLUSTERING_KEY_BLOB_TYPE_NOT_SUPPORTED .buildMessage (
481481 clusteringKeyName ));
482482 }
483483 }
You can’t perform that action at this time.
0 commit comments