Skip to content

Commit 7c2a74b

Browse files
committed
Fix to quote column name in CassandraAdmin
1 parent c38a647 commit 7c2a74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/scalar/db/storage/cassandra/CassandraAdmin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ public void dropColumnFromTable(String namespace, String table, String columnNam
421421
try {
422422
String alterTableQuery =
423423
SchemaBuilder.alterTable(quoteIfNecessary(namespace), quoteIfNecessary(table))
424-
.dropColumn(columnName)
424+
.dropColumn(quoteIfNecessary(columnName))
425425
.getQueryString();
426426

427427
clusterManager.getSession().execute(alterTableQuery);

0 commit comments

Comments
 (0)