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

Conditionally strip trailing zeros from Decimal values written to Scylla #34

Closed iravid closed 3 years ago

iravid commented 3 years ago

Spark pads Decimal values with trailing zeros corresponding to the scale of the column. Some users don't like this, so we offer a flag to strip trailing zeros.

Resolves #33.