duckdb 0.6.1-dev218.0 → 0.6.1-dev221.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 +7 -0
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +37672 -37672
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -9337,6 +9337,13 @@ void BoxRenderer::Render(ClientContext &context, const vector<string> &names, co
|
|
|
9337
9337
|
// figure out how many/which rows to render
|
|
9338
9338
|
idx_t row_count = result.Count();
|
|
9339
9339
|
idx_t rows_to_render = MinValue<idx_t>(row_count, config.max_rows);
|
|
9340
|
+
if (row_count <= config.max_rows + 3) {
|
|
9341
|
+
// hiding rows adds 3 extra rows
|
|
9342
|
+
// so hiding rows makes no sense if we are only slightly over the limit
|
|
9343
|
+
// if we are 1 row over the limit hiding rows will actually increase the number of lines we display!
|
|
9344
|
+
// in this case render all the rows
|
|
9345
|
+
rows_to_render = row_count;
|
|
9346
|
+
}
|
|
9340
9347
|
idx_t top_rows;
|
|
9341
9348
|
idx_t bottom_rows;
|
|
9342
9349
|
if (rows_to_render == row_count) {
|
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.6.1-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "cad4c59733"
|
|
15
|
+
#define DUCKDB_VERSION "v0.6.1-dev221"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|