ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Server
  • Cloud
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Download
ScyllaDB Docs ScyllaDB Migrator Rename Columns

Caution

You're viewing documentation for a previous version of ScyllaDB Migrator. Switch to the latest stable version.

Rename ColumnsΒΆ

The migration requires the target table (if it already exists) to have the same schema as the source table. For convenience, it is possible to rename some item columns along the way.

Indicate in the migration configuration which columns to rename with the renames top-level property. For instance, to rename the column foo into bar, and xxx into yyy, add the following configuration:

renames:
  - from: foo
    to: bar
  - from: xxx
    to: yyy

To not perform any renames, leave out the renames property from the configuration file.

Was this page helpful?

PREVIOUS
Stream Changes
NEXT
Validate the Migration
  • Create an issue
  • Edit this page
ScyllaDB Migrator
  • 1.0.x
    • master
    • 1.1.x
    • 1.0.x
  • Getting Started
    • Set Up a Spark Cluster with Ansible
    • Manual Set Up of a Spark Cluster
    • Set Up a Spark Cluster with AWS EMR
    • Set Up a Spark Cluster with Docker
  • Migrate from Apache Cassandra or from a Parquet File
  • Migrate from DynamoDB
  • Run the Migration
  • Stream Changes
  • Rename Columns
  • Validate the Migration
  • Configuration Reference
  • Tutorials
    • Migrate from DynamoDB to ScyllaDB Alternator Using Docker
Docs Tutorials University Contact Us About Us
© 2025, ScyllaDB. All rights reserved. | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 28 Apr 2025.
Powered by Sphinx 7.4.7 & ScyllaDB Theme 1.8.6