Skip to content

Commit

Permalink
Merge pull request #1444 from evidence-dev/fix/add-evidence-databrick…
Browse files Browse the repository at this point in the history
…s-trino

Add annotations to databricks and trino connectors
  • Loading branch information
archiewood authored Jan 4, 2024
2 parents abec0a9 + 9344ef5 commit 2bb5d3c
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/slow-parrots-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@evidence-dev/databricks': patch
'@evidence-dev/trino': patch
---

Annotate databricks and trino as evidence source plugins
2 changes: 1 addition & 1 deletion packages/databricks/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports.testConnection = async (opts) => {
module.exports.options = {
token: {
title: 'Personal Access Token',
type: 'text',
type: 'string',
required: true,
secret: true
},
Expand Down
7 changes: 6 additions & 1 deletion packages/databricks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@
"devDependencies": {
"dotenv": "^16.0.1"
},
"type": "module"
"type": "module",
"evidence": {
"datasources": [
"databricks"
]
}
}
7 changes: 6 additions & 1 deletion packages/trino/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@
"@evidence-dev/db-commons": "workspace:*",
"presto-client": "^0.13.0"
},
"type": "module"
"type": "module",
"evidence": {
"datasources": [
"trino"
]
}
}
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion sites/example-project/evidence.plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ components:
datasources:
"@evidence-dev/bigquery": {}
"@evidence-dev/csv": {}
"@evidence-dev/databricks": {}
"@evidence-dev/duckdb": {}
"@evidence-dev/mssql": {}
"@evidence-dev/mysql": {}
"@evidence-dev/postgres": {}
"@evidence-dev/snowflake": {}
"@evidence-dev/sqlite": {}
"@evidence-dev/sqlite": {}
"@evidence-dev/trino": {}
2 changes: 2 additions & 0 deletions sites/example-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@
"@evidence-dev/core-components": "workspace:*",
"@evidence-dev/csv": "workspace:*",
"@evidence-dev/duckdb": "workspace:*",
"@evidence-dev/databricks": "workspace:*",
"@evidence-dev/mssql": "workspace:*",
"@evidence-dev/mysql": "workspace:*",
"@evidence-dev/plugin-connector": "workspace:*",
"@evidence-dev/postgres": "workspace:*",
"@evidence-dev/query-store": "workspace:*",
"@evidence-dev/snowflake": "workspace:*",
"@evidence-dev/sqlite": "workspace:*",
"@evidence-dev/trino": "workspace:*",
"@evidence-dev/telemetry": "workspace:*",
"@evidence-dev/universal-sql": "workspace:*",
"@fontsource/spectral": "^5.0.3",
Expand Down

0 comments on commit 2bb5d3c

Please sign in to comment.