duckdb 0.3.5-dev1206.0 → 0.3.5-dev1226.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 +1 -1
- package/src/duckdb.cpp +24 -44
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +31994 -32000
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -47235,17 +47235,6 @@ const LogicalType &VectorCache::GetType() const {
|
|
|
47235
47235
|
|
|
47236
47236
|
namespace duckdb {
|
|
47237
47237
|
|
|
47238
|
-
// We disable Wexit-time-destructors here
|
|
47239
|
-
// Otherwise we get a warning about the two selection vectors (ZERO/INCREMENTAL_SELECTION_VECTOR)
|
|
47240
|
-
// While the SelectionVector does have a non-trivial destructor
|
|
47241
|
-
// This only does a memory de-allocation if the selection vectors own their data (i.e. selection_data is not null)
|
|
47242
|
-
// In the case of the FlatVector/ConstantVector, they point towards static regions of memory
|
|
47243
|
-
// Hence in this case these cause no problems, as the destructors are non-trivial but effectively nops
|
|
47244
|
-
#ifdef __clang__
|
|
47245
|
-
#pragma clang diagnostic push
|
|
47246
|
-
#pragma clang diagnostic ignored "-Wexit-time-destructors"
|
|
47247
|
-
#endif
|
|
47248
|
-
|
|
47249
47238
|
const SelectionVector *ConstantVector::ZeroSelectionVector() {
|
|
47250
47239
|
static const SelectionVector ZERO_SELECTION_VECTOR = SelectionVector((sel_t *)ConstantVector::ZERO_VECTOR);
|
|
47251
47240
|
return &ZERO_SELECTION_VECTOR;
|
|
@@ -47258,10 +47247,6 @@ const SelectionVector *FlatVector::IncrementalSelectionVector() {
|
|
|
47258
47247
|
|
|
47259
47248
|
const sel_t ConstantVector::ZERO_VECTOR[STANDARD_VECTOR_SIZE] = {0};
|
|
47260
47249
|
|
|
47261
|
-
#ifdef __clang__
|
|
47262
|
-
#pragma clang diagnostic pop
|
|
47263
|
-
#endif
|
|
47264
|
-
|
|
47265
47250
|
} // namespace duckdb
|
|
47266
47251
|
|
|
47267
47252
|
|
|
@@ -117562,11 +117547,6 @@ inline const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) {
|
|
|
117562
117547
|
#include <brotli/encode.h>
|
|
117563
117548
|
#endif
|
|
117564
117549
|
|
|
117565
|
-
#ifdef __clang__
|
|
117566
|
-
#pragma clang diagnostic push
|
|
117567
|
-
#pragma clang diagnostic ignored "-Wexit-time-destructors"
|
|
117568
|
-
#endif
|
|
117569
|
-
|
|
117570
117550
|
/*
|
|
117571
117551
|
* Declaration
|
|
117572
117552
|
*/
|
|
@@ -125478,12 +125458,9 @@ inline SSL_CTX *Client::ssl_context() const {
|
|
|
125478
125458
|
|
|
125479
125459
|
} // namespace CPPHTTPLIB_NAMESPACE
|
|
125480
125460
|
|
|
125481
|
-
#ifdef __clang__
|
|
125482
|
-
#pragma clang diagnostic pop
|
|
125483
|
-
#endif
|
|
125484
|
-
|
|
125485
125461
|
#endif // CPPHTTPLIB_HTTPLIB_H
|
|
125486
125462
|
|
|
125463
|
+
|
|
125487
125464
|
// LICENSE_CHANGE_END
|
|
125488
125465
|
|
|
125489
125466
|
#endif
|
|
@@ -243057,6 +243034,8 @@ size_t Utf8Proc::RenderWidth(const char *s, size_t len, size_t pos) {
|
|
|
243057
243034
|
#include <stdlib.h>
|
|
243058
243035
|
#include <string>
|
|
243059
243036
|
|
|
243037
|
+
#define fprintf(...)
|
|
243038
|
+
|
|
243060
243039
|
|
|
243061
243040
|
|
|
243062
243041
|
|
|
@@ -273874,6 +273853,7 @@ typedef int16_t flex_int16_t;
|
|
|
273874
273853
|
typedef uint16_t flex_uint16_t;
|
|
273875
273854
|
typedef int32_t flex_int32_t;
|
|
273876
273855
|
typedef uint32_t flex_uint32_t;
|
|
273856
|
+
typedef uint64_t flex_uint64_t;
|
|
273877
273857
|
#else
|
|
273878
273858
|
typedef signed char flex_int8_t;
|
|
273879
273859
|
typedef short int flex_int16_t;
|
|
@@ -274038,7 +274018,7 @@ struct yy_buffer_state
|
|
|
274038
274018
|
/* Number of characters read into yy_ch_buf, not including EOB
|
|
274039
274019
|
* characters.
|
|
274040
274020
|
*/
|
|
274041
|
-
|
|
274021
|
+
yy_size_t yy_n_chars;
|
|
274042
274022
|
|
|
274043
274023
|
/* Whether we "own" the buffer - i.e., we know we created it,
|
|
274044
274024
|
* and can realloc() it to grow it, and should free() it to
|
|
@@ -274115,7 +274095,7 @@ static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file , yyscan_t yyscanner
|
|
|
274115
274095
|
|
|
274116
274096
|
YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner );
|
|
274117
274097
|
YY_BUFFER_STATE yy_scan_string ( const char *yy_str , yyscan_t yyscanner );
|
|
274118
|
-
YY_BUFFER_STATE yy_scan_bytes ( const char *bytes,
|
|
274098
|
+
YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, yy_size_t len , yyscan_t yyscanner );
|
|
274119
274099
|
|
|
274120
274100
|
void *yyalloc ( yy_size_t , yyscan_t yyscanner );
|
|
274121
274101
|
void *yyrealloc ( void *, yy_size_t , yyscan_t yyscanner );
|
|
@@ -274162,7 +274142,7 @@ static void yynoreturn yy_fatal_error ( const char* msg , yyscan_t yyscanner );
|
|
|
274162
274142
|
*/
|
|
274163
274143
|
#define YY_DO_BEFORE_ACTION \
|
|
274164
274144
|
yyg->yytext_ptr = yy_bp; \
|
|
274165
|
-
yyleng = (
|
|
274145
|
+
yyleng = (yy_size_t) (yy_cp - yy_bp); \
|
|
274166
274146
|
yyg->yy_hold_char = *yy_cp; \
|
|
274167
274147
|
*yy_cp = '\0'; \
|
|
274168
274148
|
yyg->yy_c_buf_p = yy_cp;
|
|
@@ -274700,7 +274680,7 @@ static void check_escape_warning(core_yyscan_t yyscanner);
|
|
|
274700
274680
|
extern int core_yyget_column(yyscan_t yyscanner);
|
|
274701
274681
|
extern void core_yyset_column(int column_no, yyscan_t yyscanner);
|
|
274702
274682
|
|
|
274703
|
-
#line
|
|
274683
|
+
#line 1151 "third_party/libpg_query/src_backend_parser_scan.cpp"
|
|
274704
274684
|
#define YY_NO_INPUT 1
|
|
274705
274685
|
/*
|
|
274706
274686
|
* OK, here is a short description of lex/flex rules behavior.
|
|
@@ -274854,7 +274834,7 @@ extern void core_yyset_column(int column_no, yyscan_t yyscanner);
|
|
|
274854
274834
|
* Note that xcstart must appear before operator, as explained above!
|
|
274855
274835
|
* Also whitespace (comment) must appear before operator.
|
|
274856
274836
|
*/
|
|
274857
|
-
#line
|
|
274837
|
+
#line 1305 "third_party/libpg_query/src_backend_parser_scan.cpp"
|
|
274858
274838
|
|
|
274859
274839
|
#define INITIAL 0
|
|
274860
274840
|
#define xb 1
|
|
@@ -274887,8 +274867,8 @@ struct yyguts_t
|
|
|
274887
274867
|
size_t yy_buffer_stack_max; /**< capacity of stack. */
|
|
274888
274868
|
YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */
|
|
274889
274869
|
char yy_hold_char;
|
|
274890
|
-
|
|
274891
|
-
|
|
274870
|
+
yy_size_t yy_n_chars;
|
|
274871
|
+
yy_size_t yyleng_r;
|
|
274892
274872
|
char *yy_c_buf_p;
|
|
274893
274873
|
int yy_init;
|
|
274894
274874
|
int yy_start;
|
|
@@ -274945,7 +274925,7 @@ FILE *yyget_out ( yyscan_t yyscanner );
|
|
|
274945
274925
|
|
|
274946
274926
|
void yyset_out ( FILE * _out_str , yyscan_t yyscanner );
|
|
274947
274927
|
|
|
274948
|
-
|
|
274928
|
+
yy_size_t yyget_leng ( yyscan_t yyscanner );
|
|
274949
274929
|
|
|
274950
274930
|
char *yyget_text ( yyscan_t yyscanner );
|
|
274951
274931
|
|
|
@@ -275024,7 +275004,7 @@ static int input ( yyscan_t yyscanner );
|
|
|
275024
275004
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
|
|
275025
275005
|
{ \
|
|
275026
275006
|
int c = '*'; \
|
|
275027
|
-
|
|
275007
|
+
yy_size_t n; \
|
|
275028
275008
|
for ( n = 0; n < max_size && \
|
|
275029
275009
|
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
|
|
275030
275010
|
buf[n] = (char) c; \
|
|
@@ -275136,7 +275116,7 @@ YY_DECL
|
|
|
275136
275116
|
#line 402 "third_party/libpg_query/scan.l"
|
|
275137
275117
|
|
|
275138
275118
|
|
|
275139
|
-
#line
|
|
275119
|
+
#line 1594 "third_party/libpg_query/src_backend_parser_scan.cpp"
|
|
275140
275120
|
|
|
275141
275121
|
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
|
|
275142
275122
|
{
|
|
@@ -276195,7 +276175,7 @@ YY_RULE_SETUP
|
|
|
276195
276175
|
#line 1081 "third_party/libpg_query/scan.l"
|
|
276196
276176
|
YY_FATAL_ERROR( "flex scanner jammed" );
|
|
276197
276177
|
YY_BREAK
|
|
276198
|
-
#line
|
|
276178
|
+
#line 2653 "third_party/libpg_query/src_backend_parser_scan.cpp"
|
|
276199
276179
|
|
|
276200
276180
|
case YY_END_OF_BUFFER:
|
|
276201
276181
|
{
|
|
@@ -276382,7 +276362,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
|
|
|
276382
276362
|
|
|
276383
276363
|
else
|
|
276384
276364
|
{
|
|
276385
|
-
|
|
276365
|
+
yy_size_t num_to_read =
|
|
276386
276366
|
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
|
|
276387
276367
|
|
|
276388
276368
|
while ( num_to_read <= 0 )
|
|
@@ -276396,7 +276376,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
|
|
|
276396
276376
|
|
|
276397
276377
|
if ( b->yy_is_our_buffer )
|
|
276398
276378
|
{
|
|
276399
|
-
|
|
276379
|
+
yy_size_t new_size = b->yy_buf_size * 2;
|
|
276400
276380
|
|
|
276401
276381
|
if ( new_size <= 0 )
|
|
276402
276382
|
b->yy_buf_size += b->yy_buf_size / 8;
|
|
@@ -276454,7 +276434,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
|
|
|
276454
276434
|
|
|
276455
276435
|
if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
|
|
276456
276436
|
/* Extend the array by 50%, plus the number we really need. */
|
|
276457
|
-
|
|
276437
|
+
yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
|
|
276458
276438
|
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
|
|
276459
276439
|
(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size , yyscanner );
|
|
276460
276440
|
if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
|
|
@@ -276561,7 +276541,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
|
|
|
276561
276541
|
|
|
276562
276542
|
else
|
|
276563
276543
|
{ /* need more input */
|
|
276564
|
-
|
|
276544
|
+
yy_size_t offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
|
|
276565
276545
|
++yyg->yy_c_buf_p;
|
|
276566
276546
|
|
|
276567
276547
|
switch ( yy_get_next_buffer( yyscanner ) )
|
|
@@ -276939,12 +276919,12 @@ YY_BUFFER_STATE yy_scan_string (const char * yystr , yyscan_t yyscanner)
|
|
|
276939
276919
|
* @param yyscanner The scanner object.
|
|
276940
276920
|
* @return the newly allocated buffer state object.
|
|
276941
276921
|
*/
|
|
276942
|
-
YY_BUFFER_STATE yy_scan_bytes (const char * yybytes,
|
|
276922
|
+
YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, yy_size_t _yybytes_len , yyscan_t yyscanner)
|
|
276943
276923
|
{
|
|
276944
276924
|
YY_BUFFER_STATE b;
|
|
276945
276925
|
char *buf;
|
|
276946
276926
|
yy_size_t n;
|
|
276947
|
-
|
|
276927
|
+
yy_size_t i;
|
|
276948
276928
|
|
|
276949
276929
|
/* Get memory for full buffer, including space for trailing EOB's. */
|
|
276950
276930
|
n = (yy_size_t) (_yybytes_len + 2);
|
|
@@ -276977,7 +276957,7 @@ static void yynoreturn yy_fatal_error (const char* msg , yyscan_t yyscanner)
|
|
|
276977
276957
|
{
|
|
276978
276958
|
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
|
|
276979
276959
|
(void)yyg;
|
|
276980
|
-
|
|
276960
|
+
//( stderr, "%s\n", msg );
|
|
276981
276961
|
throw std::runtime_error(msg); // YY_EXIT_FAILURE );
|
|
276982
276962
|
}
|
|
276983
276963
|
|
|
@@ -276988,7 +276968,7 @@ static void yynoreturn yy_fatal_error (const char* msg , yyscan_t yyscanner)
|
|
|
276988
276968
|
do \
|
|
276989
276969
|
{ \
|
|
276990
276970
|
/* Undo effects of setting up yytext. */ \
|
|
276991
|
-
|
|
276971
|
+
yy_size_t yyless_macro_arg = (n); \
|
|
276992
276972
|
YY_LESS_LINENO(yyless_macro_arg);\
|
|
276993
276973
|
yytext[yyleng] = yyg->yy_hold_char; \
|
|
276994
276974
|
yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
|
|
@@ -277056,7 +277036,7 @@ FILE *yyget_out (yyscan_t yyscanner)
|
|
|
277056
277036
|
/** Get the length of the current token.
|
|
277057
277037
|
* @param yyscanner The scanner object.
|
|
277058
277038
|
*/
|
|
277059
|
-
|
|
277039
|
+
yy_size_t yyget_leng (yyscan_t yyscanner)
|
|
277060
277040
|
{
|
|
277061
277041
|
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
|
|
277062
277042
|
return yyleng;
|
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 "
|
|
15
|
-
#define DUCKDB_VERSION "v0.3.5-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "21edbc1e1"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.5-dev1226"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|