duckdb 0.4.1-dev696.0 → 0.4.1-dev723.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
- "version": "0.4.1-dev696.0",
4
+ "version": "0.4.1-dev723.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
@@ -207,7 +207,7 @@ struct RegisterTask : public Task {
207
207
  // here we can do only DuckDB stuff because we do not have a functioning env
208
208
 
209
209
  // Flatten all args to simplify udfs
210
- args.Normalify();
210
+ args.Flatten();
211
211
 
212
212
  JSArgs jsargs;
213
213
  jsargs.rows = args.size();
@@ -14,7 +14,7 @@ Napi::Array EncodeDataChunk(Napi::Env env, duckdb::DataChunk &chunk, bool with_t
14
14
  // Make sure we only have flat vectors hereafter (for now)
15
15
  auto &chunk_vec = chunk.data[col_idx];
16
16
  if (with_data) {
17
- chunk_vec.Normalify(chunk.size());
17
+ chunk_vec.Flatten(chunk.size());
18
18
  }
19
19
 
20
20
  // Do a post-order DFS traversal
@@ -52,7 +52,7 @@ Napi::Array EncodeDataChunk(Napi::Env env, duckdb::DataChunk &chunk, bool with_t
52
52
 
53
53
  // Create validity vector
54
54
  if (with_data) {
55
- vec->Normalify(chunk.size());
55
+ vec->Flatten(chunk.size());
56
56
  auto &validity = duckdb::FlatVector::Validity(*vec);
57
57
  auto validity_buffer = Napi::Uint8Array::New(env, chunk.size());
58
58
  for (idx_t row_idx = 0; row_idx < chunk.size(); row_idx++) {