Skip to main content
Last updated: March 18, 2026

The Problem

Every marketing platform uses its own naming convention for fields:
Writing SQL across platforms means constantly remembering which convention each platform uses, and dealing with dots, camelCase, and inconsistent capitalization.

The Solution

Detrics normalizes all column names to snake_case before loading data into BigQuery. This means every platform’s fields follow the same convention, and you can write clean cross-platform SQL without worrying about naming differences.

Normalization Rules

Detrics applies these rules in order:

Examples

Before and After

Cross-Platform SQL

With normalized column names, cross-platform queries become straightforward:

System Columns

System columns added by Detrics always use the _detrics_ prefix and are already in snake_case:
  • _detrics_account_id
  • _detrics_row_id
  • _detrics_sync_id
  • _detrics_synced_at
These are never affected by normalization rules and are consistent across all tables.

Type Mapping

In addition to name normalization, Detrics maps platform data types to BigQuery-native types: