SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How Do I Migrate SQL Computed Traits to Segment Reverse ETL Syncs?

Question

What should be considered when migrating enrichment logic from SQL Computed Traits to Reverse ETL in Segment?

 

Product

Segment

 

Environment

Segment Console

 

Answer

When migrating from SQL Computed Traits to Reverse ETL, consider the following:

  • Reverse ETL requires write access to create and manage state tables in a dedicated schema in your data warehouse.
  • Modifying the SQL model’s structure triggers a full re-sync of records to the destination.
  • By default, null values are synced and may overwrite existing data; disable the “Sync null values” option to preserve existing values.
  • Data types are set based on the first value processed; explicitly cast columns in SQL queries if strict typing is required.

 

Additional Information

Do not alter or delete the records or checkpoints tables in the __segment_reverse_etl schema, as they are critical for data integrity.

Have more questions? Submit a request
Powered by Zendesk