Mutation
mutation TestWarehouseConnection($input: TestWarehouseConnectionInput!) {
testWarehouseConnection(input: $input) {
type
testedAt
}
}Variables
{
"input": {
"scope": "SCHEDULER",
"adapter": {}
}
}Response
{
"data": {
"testWarehouseConnection": {
"type": "SNOWFLAKE",
"testedAt": "value"
}
}
}testWarehouseConnection
Opens a connection with the settings without saving them. A refused connection is a CONNECTION_TEST_FAILED error. A DEVELOPMENT_SHARED connection can’t be opened without a user’s own credentials, so testing one is VALIDATION_FAILED on scope. Needs connections:write.
MUTATION
testWarehouseConnection(input: TestWarehouseConnectionInput!): TestWarehouseConnectionPayload!Arguments
input
required
The connection.
Returns
type
The warehouse the connection opened.
testedAt
When the test ran.
Mutation
mutation TestWarehouseConnection($input: TestWarehouseConnectionInput!) {
testWarehouseConnection(input: $input) {
type
testedAt
}
}Variables
{
"input": {
"scope": "SCHEDULER",
"adapter": {}
}
}Response
{
"data": {
"testWarehouseConnection": {
"type": "SNOWFLAKE",
"testedAt": "value"
}
}
}