mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-23 14:38:00 +00:00
30 lines
711 B
JSON
30 lines
711 B
JSON
|
|
|
||
|
|
{
|
||
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
|
||
|
|
"title": "Databricks datasource",
|
||
|
|
"description": "A schema defining Databricks datasource",
|
||
|
|
"type": "database",
|
||
|
|
"defaults": {},
|
||
|
|
"properties": {
|
||
|
|
"mode": {
|
||
|
|
"label": "",
|
||
|
|
"key": "mode",
|
||
|
|
"type": "dropdown-component-flip",
|
||
|
|
"description": "Single select dropdown for mode",
|
||
|
|
"list": [
|
||
|
|
{
|
||
|
|
"name": "SQL mode",
|
||
|
|
"value": "sql"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"sql": {
|
||
|
|
"sql_query": {
|
||
|
|
"key": "sql_query",
|
||
|
|
"type": "codehinter",
|
||
|
|
"description": "Enter your SQL query",
|
||
|
|
"height": "150px"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|