key typo in metadata parsing

This commit is contained in:
Adam Holmberg
2015-09-11 09:10:51 -05:00
parent 836eaae07a
commit cc80d543e6

View File

@@ -2105,7 +2105,7 @@ class SchemaParserV3(SchemaParserV22):
table_meta.clustering_key.append(table_meta.columns[r.get('column_name')]) table_meta.clustering_key.append(table_meta.columns[r.get('column_name')])
for col_row in (r for r in col_rows for col_row in (r for r in col_rows
if r.get('kind', None) not in ('parition_key', 'clustering')): if r.get('kind', None) not in ('partition_key', 'clustering')):
column_meta = self._build_column_metadata(table_meta, col_row) column_meta = self._build_column_metadata(table_meta, col_row)
if not compact_static or column_meta.is_static: if not compact_static or column_meta.is_static:
# for compact static tables, we omit the clustering key and value, and only add the logical columns. # for compact static tables, we omit the clustering key and value, and only add the logical columns.