duckdb 0.5.2-dev855.0 → 0.5.2-dev863.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-dev855.0",
4
+ "version": "0.5.2-dev863.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -77572,7 +77572,8 @@ bool BufferedCSVReader::ReadBuffer(idx_t &start) {
77572
77572
 
77573
77573
  // Check line length
77574
77574
  if (remaining > options.maximum_line_size) {
77575
- throw InvalidInputException("Maximum line size of %llu bytes exceeded!", options.maximum_line_size);
77575
+ throw InvalidInputException("Maximum line size of %llu bytes exceeded on line %s!", options.maximum_line_size,
77576
+ GetLineNumberStr(linenr, linenr_estimated));
77576
77577
  }
77577
77578
 
77578
77579
  buffer = unique_ptr<char[]>(new char[buffer_read_size + remaining + 1]);
@@ -120239,7 +120240,8 @@ static unique_ptr<FunctionData> ReadCSVBind(ClientContext &context, TableFunctio
120239
120240
  }
120240
120241
  }
120241
120242
  if (!options.auto_detect && return_types.empty()) {
120242
- throw BinderException("read_csv requires columns to be specified. Use read_csv_auto or set read_csv(..., "
120243
+ throw BinderException("read_csv requires columns to be specified through the 'columns' option. Use "
120244
+ "read_csv_auto or set read_csv(..., "
120243
120245
  "AUTO_DETECT=TRUE) to automatically guess columns.");
120244
120246
  }
120245
120247
  if (options.auto_detect) {
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 "81cf28b53"
15
- #define DUCKDB_VERSION "v0.5.2-dev855"
14
+ #define DUCKDB_SOURCE_ID "4c2a609bd"
15
+ #define DUCKDB_VERSION "v0.5.2-dev863"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //