Removing a Table Column from the mapping specification

Remove a supported database table column.

  1. Remove the field to column mapping from the configuration. See Mapping pulsar topics to database tables.

  2. On a database node, use the ALTER TABLE to remove the column from the table.

    You can only remove non-PRIMARY KEY columns.
  3. Confirm that the schema change has been pushed to all nodes using nodetool describecluster.

    Data synchronization may fail if the schema change is inconsistent across the entire DataStax cluster.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com