Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
TristenHarr committed Jan 8, 2025
1 parent 97b4ebd commit 77ee12c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# DuckDB Connector Changelog
This changelog documents changes between release tags.

## [0.1.3] - 2025-01-08
* Bugfix for query builder

## [0.1.2] - 2025-01-08
* Fix packaging

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.1.2
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.1.3
supportedEnvironmentVariables:
- name: DUCKDB_URL
description: The url for the DuckDB database
commands:
update:
type: Dockerized
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.1.2
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.1.3
commandArgs:
- update
dockerComposeWatch:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "duckdb-sdk",
"version": "0.1.2",
"version": "0.1.3",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ function build_query(
switch (field_value.type) {
case "column":
const object_type = config.config?.object_types[query_request.collection];
const field_def = object_type.fields[field_name];
let field_def = object_type.fields[field_value.column];
collect_rows.push(getColumnExpression(field_def, collection_alias, field_value.column));
break;
case "relationship":
Expand Down

0 comments on commit 77ee12c

Please sign in to comment.