scylladb / scylla-migrator

Migrate data extract using Spark to Scylla, normally from Cassandra/parquet files. Alt. from DynamoDB to Scylla Alternator.
https://migrator.docs.scylladb.com/stable/
Apache License 2.0
55 stars 34 forks source link

Validation Scripts fails if the schema of source table and target table are different #58

Open IshikaSonii opened 2 years ago

IshikaSonii commented 2 years ago

I have the following source schema and target schema Source Schema Creation Query : CREATE TABLE source (firstName text, lastName text, city text,PRIMARY KEY (firstName, lastName)) Target Schema Creation Query : CREATE TABLE target (firstName text, lastName text, city text, PRIMARY KEY((firstName ,lastName),city));

Error which I received on running the validator : Exception in thread "main" java.io.IOException: TTL can be obtained only for regular columns, but column city is not a regular column in table target.