Skip to content

Commit 77ee12c

Browse files
committed
bugfix
1 parent 97b4ebd commit 77ee12c

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# DuckDB Connector Changelog
22
This changelog documents changes between release tags.
33

4+
## [0.1.3] - 2025-01-08
5+
* Bugfix for query builder
6+
47
## [0.1.2] - 2025-01-08
58
* Fix packaging
69

connector-definition/connector-metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
packagingDefinition:
22
type: PrebuiltDockerImage
3-
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.1.2
3+
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.1.3
44
supportedEnvironmentVariables:
55
- name: DUCKDB_URL
66
description: The url for the DuckDB database
77
commands:
88
update:
99
type: Dockerized
10-
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.1.2
10+
dockerImage: ghcr.io/hasura/ndc-duckdb:v0.1.3
1111
commandArgs:
1212
- update
1313
dockerComposeWatch:

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "duckdb-sdk",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

src/handlers/query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ function build_query(
339339
switch (field_value.type) {
340340
case "column":
341341
const object_type = config.config?.object_types[query_request.collection];
342-
const field_def = object_type.fields[field_name];
342+
let field_def = object_type.fields[field_value.column];
343343
collect_rows.push(getColumnExpression(field_def, collection_alias, field_value.column));
344344
break;
345345
case "relationship":

0 commit comments

Comments
 (0)