n8n-nodes-databricks-api
Version:
Databricks node for n8n
93 lines • 2.42 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.databricksSqlParameters = void 0;
exports.databricksSqlParameters = [
{
displayName: 'Warehouse ID',
name: 'warehouseId',
type: 'string',
required: true,
default: '',
description: 'The ID of the SQL warehouse to use',
displayOptions: {
show: {
resource: [
'databricksSql'
],
},
},
},
{
displayName: 'Query',
name: 'query',
type: 'string',
typeOptions: {
rows: 4,
},
displayOptions: {
show: {
operation: [
'executeQuery',
],
},
},
default: '',
placeholder: 'SELECT * FROM my_table LIMIT 10',
required: true,
description: 'SQL query to execute',
},
{
displayName: 'Query ID',
name: 'queryId',
type: 'string',
required: true,
default: '',
description: 'The ID of the query to update',
displayOptions: {
show: {
operation: [
'updateQuery',
'deleteQuery',
],
},
},
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
default: {},
displayOptions: {
show: {
resource: [
'databricksSql',
],
},
},
options: [
{
displayName: 'Catalog',
name: 'catalog',
type: 'string',
default: '',
description: 'The catalog to use for the query',
},
{
displayName: 'Schema',
name: 'schema',
type: 'string',
default: '',
description: 'The schema to use for the query',
},
{
displayName: 'Timeout',
name: 'timeout',
type: 'number',
default: 60,
description: 'Query timeout in seconds',
},
],
},
];
//# sourceMappingURL=parameters.js.map