diff --git a/CHANGES.txt b/CHANGES.txt index 212c7386b9..5bcdf16de4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -25,7 +25,8 @@ Merged from 2.2: * Commitlog replay may fail if last mutation is within 4 bytes of end of segment (CASSANDRA-13282) * Fix queries updating multiple time the same list (CASSANDRA-13130) * Fix GRANT/REVOKE when keyspace isn't specified (CASSANDRA-13053) - +Merged from 2.1: + * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364) 3.0.12 * Prevent data loss on upgrade 2.1 - 3.0 by adding component separator to LogRecord absolute path (CASSANDRA-13294) diff --git a/pylib/cqlshlib/copyutil.py b/pylib/cqlshlib/copyutil.py index 226fad5a61..ca21baadff 100644 --- a/pylib/cqlshlib/copyutil.py +++ b/pylib/cqlshlib/copyutil.py @@ -1973,7 +1973,7 @@ class ImportConversion(object): return tuple(convert_mandatory(t, v) for t, v in zip(ct.subtypes, split(val))) def convert_list(val, ct=cql_type): - return list(convert_mandatory(ct.subtypes[0], v) for v in split(val)) + return tuple(convert_mandatory(ct.subtypes[0], v) for v in split(val)) def convert_set(val, ct=cql_type): return frozenset(convert_mandatory(ct.subtypes[0], v) for v in split(val))