Skip to content

Commit

Permalink
add relationships, add filter relationships, add relationship ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
TristenHarr committed Jun 7, 2024
1 parent 0718e66 commit 686f257
Show file tree
Hide file tree
Showing 7 changed files with 157 additions and 67 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ configuration.json
SECRET_REMOTE_CONFIGURATION.http
node_modules
.DS_Store
config.json
config.json
TMP.md
chinook.db
chinook.db.wal
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# DuckDB Connector Changelog
This changelog documents changes between release tags.

## [0.0.12] - 2024-05-6
* Add Relationships support
* Fix OrderBy across relationships
* Add Filtering on Relationships
* Ship a multi-arch build

## [0.0.11] - 2024-04-17
* Update generate-config to use the proper configuration directory

Expand Down
4 changes: 2 additions & 2 deletions connector-definition/connector-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
packagingDefinition:
type: PrebuiltDockerImage
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.0.11
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.0.12
supportedEnvironmentVariables:
- name: DUCKDB_URL
description: The url for the DuckDB database
commands:
update:
type: Dockerized
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.0.11
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.0.12
commandArgs:
- update
dockerComposeWatch:
Expand Down
2 changes: 2 additions & 0 deletions generate-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ const determineType = (t: string): string => {
return "String";
case "VARCHAR":
return "String";
case "HUGEINT":
return "String";
default:
if (t.startsWith("DECIMAL")){
return "Float";
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "duckdb-sdk",
"version": "0.0.11",
"version": "0.0.12",
"description": "",
"main": "index.js",
"scripts": {
Expand All @@ -14,7 +14,7 @@
},
"dependencies": {
"@hasura/ndc-sdk-typescript": "^4.5.0",
"duckdb": "^0.9.2",
"duckdb": "^1.0.0",
"sql-formatter": "^13.0.4",
"sqlstring-sqlite": "^0.1.1"
}
Expand Down
Loading

0 comments on commit 686f257

Please sign in to comment.