Skip to main content
POST
Create a Table Pair

Authorizations

Authorization
string
header
required

A Microsoft Entra token for your own service principal or managed identity, not a signed-in person. Request the .default scope and assign it the GV.APIReader, GV.APIContributor, or GV.APIOwner role.

Body

application/json
id
string<uuid>
required

A new UUID you choose for the Table Pair. Repeating the request with the same ID returns the same pair.

name
string
required

The Table Pair's name.

Required string length: 1 - 255
Pattern: ^[^\x00-\x1f\x7f]+$
keys
KeyMapping · object[]

Join keys: the columns that match a source row to its target row. VALUE and OUTER_VALUE Tests need them.

Maximum array length: 16
source
InlineLakehouseTable · object

The source Table itself, in place of source_id. The API saves it, or reuses a saved Table with the same reference.

source_filters
Filter · object[]

Only source rows that match every filter are compared, in every Test of the pair.

Maximum array length: 32
source_id
string<uuid> | null

The saved source Table's ID. Give this or source.

target
InlineLakehouseTable · object

The target Table itself, in place of target_id.

target_filters
Filter · object[]

Only target rows that match every filter are compared, in every Test of the pair.

Maximum array length: 32
target_id
string<uuid> | null

The saved target Table's ID. Give this or target.

test_set_id
string<uuid> | null

An active test set whose join keys and Tests the pair uses, in place of its own. With it, leave keys and tests empty.

tests
TestDefinition · object[]

Tests to create with the Table Pair.

Maximum array length: 100

Response

Successful Response

id
string<uuid>
required
name
string
required

The Table Pair's name.

Required string length: 1 - 255
Pattern: ^[^\x00-\x1f\x7f]+$
source
InlineLakehouseTable · object
required

The source Table.

source_id
string<uuid>
required

The source Table's ID.

target
InlineLakehouseTable · object
required

The target Table.

target_id
string<uuid>
required

The target Table's ID.

test_set_id
string<uuid> | null
required

The test set whose join keys and Tests the pair uses. Null when the pair has its own.

keys
KeyMapping · object[]

Join keys: the columns that match a source row to its target row. VALUE and OUTER_VALUE Tests need them.

Maximum array length: 16
source_filters
Filter · object[]

Only source rows that match every filter are compared, in every Test of the pair.

Maximum array length: 32
target_filters
Filter · object[]

Only target rows that match every filter are compared, in every Test of the pair.

Maximum array length: 32