duckdb 0.5.2-dev343.0 → 0.5.2-dev358.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.5.2-dev343.0",
4
+ "version": "0.5.2-dev358.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -118880,7 +118880,8 @@ unique_ptr<TableFunctionRef> ReadCSVReplacement(ClientContext &context, const st
118880
118880
  } else if (StringUtil::EndsWith(lower_name, ".zst")) {
118881
118881
  lower_name = lower_name.substr(0, lower_name.size() - 4);
118882
118882
  }
118883
- if (!StringUtil::EndsWith(lower_name, ".csv") && !StringUtil::EndsWith(lower_name, ".tsv")) {
118883
+ if (!StringUtil::EndsWith(lower_name, ".csv") && !StringUtil::Contains(lower_name, ".csv?") &&
118884
+ !StringUtil::EndsWith(lower_name, ".tsv") && !StringUtil::Contains(lower_name, ".tsv?")) {
118884
118885
  return nullptr;
118885
118886
  }
118886
118887
  auto table_function = make_unique<TableFunctionRef>();
package/src/duckdb.hpp CHANGED
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
11
11
  #pragma once
12
12
  #define DUCKDB_AMALGAMATION 1
13
13
  #define DUCKDB_AMALGAMATION_EXTENDED 1
14
- #define DUCKDB_SOURCE_ID "7d967573d"
15
- #define DUCKDB_VERSION "v0.5.2-dev343"
14
+ #define DUCKDB_SOURCE_ID "106f302c4"
15
+ #define DUCKDB_VERSION "v0.5.2-dev358"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //
@@ -5960,6 +5960,7 @@ namespace duckdb {
5960
5960
  using std::chrono::duration;
5961
5961
  using std::chrono::duration_cast;
5962
5962
  using std::chrono::high_resolution_clock;
5963
+ using std::chrono::milliseconds;
5963
5964
  using std::chrono::system_clock;
5964
5965
  using std::chrono::time_point;
5965
5966
  } // namespace duckdb