We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b862c2a commit 8289de0Copy full SHA for 8289de0
cassandra/metadata.py
@@ -2487,7 +2487,8 @@ def export_as_string(self):
2487
2488
2489
def get_schema_parser(connection, server_version, timeout):
2490
- if server_version.startswith('3'):
+ server_major_version = int(server_version.split('.')[0])
2491
+ if server_major_version >= 3:
2492
return SchemaParserV3(connection, timeout)
2493
else:
2494
# we could further specialize by version. Right now just refactoring the
0 commit comments