Closed clad closed 3 years ago
Hey @clad - this is not replicating for me given latest master, your schema definitions and the following test row:
INSERT INTO organization_notification (partition_timestamp, org_id, timestamp_uuid, notification_id, error_code, full_details, issuer_user_Id, issuer_user_ip, variables)
VALUES (50, 50, now(), 50, 'bla', 'bla', 50, '172.0.0.1', textAsBlob('blabber')) ;
If you could provide a test row that demonstrates the issue that'd be great.
organization_notification.csv.gz
Tried with latest master, same error with above data. Thanks for looking into this.
Had to add stripTrailingZerosForDecimals: false to target in yaml, btw.
I could reproduce today, but not with this data I reproduced with uuid and timeuuid data in schema
now I am sure that the problem comes from "preserveTimestamps: true" above data doesn't repro, since it lacks TTL and timestamps (and default table has TTL 0) it looks like TTLs get transfered as Integers and hence the error @iravid
Just ran into the same problem (using the latest version from scylla-migrator/tree/master
) when trying to migrate a table from Cassandra to Scylla.
CREATE TABLE foo.bar (
a bigint,
b bigint,
c tinyint,
d timestamp,
PRIMARY KEY (a, b, c)
)
WITH default_time_to_live = 2592000;
It's working fine when setting preserveTimestamps: false
(and the values in the d
column are of course copied correctly), but I'd like to preserve my write timestamps too though. :grimacing:
@Dobiasd for now reset to changeset https://github.com/scylladb/scylla-migrator/commit/71c37b32a2b8ea9c125a55a541f21c38aadf7ab6 and use older migrator, that will work until master is fixed
Just submitted a fix for this. Sorry it took so long - I missed preserveTimestamps: true
in @clad's original config.
Hello,
Getting an exception for the following table -
config.yaml for table -