Skip to content

Commit 1eeeef8

Browse files
committed
Skip varint in checks connected to test_all_types
1 parent db04b37 commit 1eeeef8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/columns.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('Column Types', function() {
77

88
it('should prepare a statement and return the columns and their types', function(done) {
99
// we dont include the large_enum and small_enum since they are huge and test the same code path as the small_enum
10-
var stmt = db.prepare("SELECT * EXCLUDE(medium_enum, large_enum, fixed_int_array, fixed_varchar_array, fixed_nested_int_array, fixed_nested_varchar_array, fixed_struct_array, struct_of_fixed_array, fixed_array_of_int_list, list_of_fixed_int_array) FROM test_all_types()", function(err: null | Error) {
10+
var stmt = db.prepare("SELECT * EXCLUDE(medium_enum, large_enum, fixed_int_array, fixed_varchar_array, fixed_nested_int_array, fixed_nested_varchar_array, fixed_struct_array, struct_of_fixed_array, fixed_array_of_int_list, list_of_fixed_int_array, varint) FROM test_all_types()", function(err: null | Error) {
1111
if (err) done(new Error('Query failed unexpectedly'));
1212

1313
let cols = stmt.columns();

test/test_all_types.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function get_all_types(): Promise<string[]> {
55
return new Promise((resolve, reject) => {
66
const conn = new duckdb.Database(":memory:");
77
conn.all(
8-
"describe select * EXCLUDE(fixed_int_array, fixed_varchar_array, fixed_nested_int_array, fixed_nested_varchar_array, fixed_struct_array, struct_of_fixed_array, fixed_array_of_int_list, list_of_fixed_int_array) from test_all_types()",
8+
"describe select * EXCLUDE(fixed_int_array, fixed_varchar_array, fixed_nested_int_array, fixed_nested_varchar_array, fixed_struct_array, struct_of_fixed_array, fixed_array_of_int_list, list_of_fixed_int_array, varint) from test_all_types()",
99
(error: DuckDbError | null, data: TableData) => {
1010
if (error) reject(error);
1111
resolve(data.map((row) => row.column_name));

0 commit comments

Comments
 (0)