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
Current version does not support keyspace names that starts with numbers and have to escaped
Example keyspace 111_test have to be passed as parameter -Dcassandra.migration.keyspace.name="111_test"
and it fails at this check for (KeyspaceMetadata keyspaceMetadata : keyspaces) { if (keyspace.getName().equalsIgnoreCase(keyspaceMetadata.getName())) keyspaceExists = true; } if (keyspaceExists) session.execute("USE " + keyspace.getName()); else throw new CassandraMigrationException("Keyspace: " + keyspace.getName() + " does not exist.");
The text was updated successfully, but these errors were encountered:
swalendzik
pushed a commit
to swalendzik/cassandra-migration
that referenced
this issue
Mar 8, 2017
Current version does not support keyspace names that starts with numbers and have to escaped
Example keyspace 111_test have to be passed as parameter -Dcassandra.migration.keyspace.name="111_test"
and it fails at this check
for (KeyspaceMetadata keyspaceMetadata : keyspaces) {
if (keyspace.getName().equalsIgnoreCase(keyspaceMetadata.getName()))
keyspaceExists = true;
}
if (keyspaceExists)
session.execute("USE " + keyspace.getName());
else
throw new CassandraMigrationException("Keyspace: " + keyspace.getName() + " does not exist.");
The text was updated successfully, but these errors were encountered: