Error
A valid request URL is required to generate request examples{
"results": {
"errors": [
{
"message": "<string>",
"fieldIds": [
"<string>"
],
"sourceId": "<string>",
"kind": "too_few_sources"
}
],
"requiresCompose": true,
"fieldIdByColumn": {},
"usedParametersValues": {},
"parameterReferences": [
"<string>"
],
"fieldOrigins": {},
"itemsMap": {},
"fields": [
{
"sourceFieldId": "<string>",
"sourceId": "<string>",
"type": "<string>",
"kind": "dimension",
"label": "<string>",
"column": "<string>"
}
],
"columns": {
"valueColumnBySourceColumn": {},
"joinKeyColumns": [
"<string>"
]
},
"terminalWrapper": {
"sourceLimitExceededSql": "<string>",
"limit": 123,
"orderBy": [
"<string>"
]
},
"typedColumns": [
{
"origin": {
"sourceFieldId": "<string>",
"sourceId": "<string>",
"kind": "source"
},
"type": "string",
"reference": "<string>"
}
],
"coreSql": "<string>",
"sql": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Exploring
Compile merge query
Compile several queries into a single merged warehouse statement.
Returns the statement and the fields it produces, without running it.
Use it to validate a merge while it is being built: a merge that would
produce wrong numbers comes back with errors and a null sql — most
importantly the fan-out case, where a query still carries a dimension
that is neither joined on nor pivoted. Run a valid merge with
POST /mergeQuery/run.
POST
/
api
/
v1
/
projects
/
{projectUuid}
/
mergeQuery
/
compile
Error
A valid request URL is required to generate request examples{
"results": {
"errors": [
{
"message": "<string>",
"fieldIds": [
"<string>"
],
"sourceId": "<string>",
"kind": "too_few_sources"
}
],
"requiresCompose": true,
"fieldIdByColumn": {},
"usedParametersValues": {},
"parameterReferences": [
"<string>"
],
"fieldOrigins": {},
"itemsMap": {},
"fields": [
{
"sourceFieldId": "<string>",
"sourceId": "<string>",
"type": "<string>",
"kind": "dimension",
"label": "<string>",
"column": "<string>"
}
],
"columns": {
"valueColumnBySourceColumn": {},
"joinKeyColumns": [
"<string>"
]
},
"terminalWrapper": {
"sourceLimitExceededSql": "<string>",
"limit": 123,
"orderBy": [
"<string>"
]
},
"typedColumns": [
{
"origin": {
"sourceFieldId": "<string>",
"sourceId": "<string>",
"kind": "source"
},
"type": "string",
"reference": "<string>"
}
],
"coreSql": "<string>",
"sql": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Path Parameters
Body
application/json
Was this page helpful?