Skip to content

Commit 85551d7

Browse files
committed
Upgrade chDB version to v3.3.0
1 parent 5eb8870 commit 85551d7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ build
55
.vscode/
66
libchdb.so
77
chdb.h
8+
chdb.hpp

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe('chDB Queries', function () {
7878

7979
session.query("USE testdb; INSERT INTO testtable VALUES (1), (2), (3);");
8080

81-
const ret = session.query("SELECT * FROM testtable;", "CSV");
81+
const ret = session.query("SELECT * FROM testdb.testtable;", "CSV");
8282
console.log("Session Query Result:", ret);
8383
expect(ret).to.be.a('string');
8484
expect(ret).to.include('1');
@@ -93,7 +93,7 @@ describe('chDB Queries', function () {
9393
});
9494

9595
it('should return result of the query made using bind parameters', () => {
96-
const ret = session.queryBind("SELECT * from testtable where id > {id: UInt32}", { id: 2}, "CSV");
96+
const ret = session.queryBind("SELECT * from testdb.testtable where id > {id: UInt32}", { id: 2}, "CSV");
9797
console.log("Bind Session result:", ret);
9898
expect(ret).to.not.include('1');
9999
expect(ret).to.not.include('2');

update_libchdb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cd "$(dirname "$0")"
1010

1111
# Get the newest release version
1212
# LATEST_RELEASE=$(curl --silent "https://api.github.com/repos/chdb-io/chdb/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
13-
LATEST_RELEASE=v2.1.1
13+
LATEST_RELEASE=v3.3.0
1414

1515
# Download the correct version based on the platform
1616
case "$(uname -s)" in

0 commit comments

Comments
 (0)