Check if two values refer to the same entity (fuzzy equality)
Per-row — runs once for each row.
{{ left }} SAME_AS {{ right }}{{ left }} SAME_AS {{ right }} AS '{{ entity_type }}'SAME_AS({{ left }}, {{ right }})SAME_AS({{ left }}, {{ right }}, '{{ entity_type }}'){{ left }} SAME_ENTITY {{ right }}| name | type | description |
|---|---|---|
| left | VARCHAR | — |
| right | VARCHAR | — |
| entity_type(optional) | VARCHAR | Entity type: company, person, address, product, or auto |
Company aliases match
SELECT
same_as ('IBM', 'International Business Machines')Different car companies don't match
SELECT
same_as ('Toyota', 'Honda')Name variations match with type hint
SELECT
same_as ('John Smith', 'J. Smith', 'person')Deduplicates texts by semantic similarity (embeddings + threshold graph)
LLM-backed deduplication (escape hatch for DEDUPE)
Merge duplicate records into a composite golden record
Merge records with an explicit conflict-resolution strategy
Check if two values refer to the same entity (fuzzy equality)
Per-row — runs once for each row.
{{ left }} SAME_AS {{ right }}{{ left }} SAME_AS {{ right }} AS '{{ entity_type }}'SAME_AS({{ left }}, {{ right }})SAME_AS({{ left }}, {{ right }}, '{{ entity_type }}'){{ left }} SAME_ENTITY {{ right }}| name | type | description |
|---|---|---|
| left | VARCHAR | — |
| right | VARCHAR | — |
| entity_type(optional) | VARCHAR | Entity type: company, person, address, product, or auto |
Company aliases match
SELECT
same_as ('IBM', 'International Business Machines')Different car companies don't match
SELECT
same_as ('Toyota', 'Honda')Name variations match with type hint
SELECT
same_as ('John Smith', 'J. Smith', 'person')Deduplicates texts by semantic similarity (embeddings + threshold graph)
LLM-backed deduplication (escape hatch for DEDUPE)
Merge duplicate records into a composite golden record
Merge records with an explicit conflict-resolution strategy