Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9726 from duckdb/feature
Merge Feature Into Main
- Loading branch information
Showing
504 changed files
with
57,499 additions
and
21,640 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# name: benchmark/micro/json/inconsistent_schema.benchmark | ||
# description: Read JSON file with inconsistent schema | ||
# group: [json] | ||
|
||
name JSON inconsistent schema | ||
group json | ||
|
||
require json | ||
|
||
run | ||
CREATE OR REPLACE TABLE test AS SELECT * FROM 'data/json/5000.jsonl' | ||
|
||
result I | ||
5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# name: benchmark/micro/lambdas/list_filter_where.benchmark | ||
# description: Simulate a where-function with lambda functions on 100K values | ||
# group: [lambdas] | ||
|
||
name Benchmark list_filter | ||
group lambdas | ||
|
||
load | ||
CREATE TABLE tbl (l INTEGER[], where_l BOOLEAN[]); | ||
INSERT INTO tbl VALUES (range(100000), [x % 13 != 0 for x in range(100000)]); | ||
|
||
run | ||
SELECT list_filter(l, (x, x_i) -> where_l[x_i]) FROM tbl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# name: benchmark/micro/lambdas/list_transform_select.benchmark | ||
# description: Simulate a select-function with lambda functions on 100K values | ||
# group: [lambdas] | ||
|
||
name Benchmark list_transform | ||
group lambdas | ||
|
||
load | ||
CREATE TABLE tbl (l INTEGER[], sel INTEGER[]); | ||
INSERT INTO tbl VALUES (range(100000), range(100000)); | ||
|
||
run | ||
SELECT list_transform(sel, x -> l[x]) FROM tbl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# name: benchmark/micro/lambdas/list_transform_zip.benchmark | ||
# description: Simulate a zip-function with lambda functions on 100K values | ||
# group: [lambdas] | ||
|
||
name Benchmark list_transform | ||
group lambdas | ||
|
||
load | ||
CREATE TABLE tbl (l INTEGER[], zip VARCHAR[]); | ||
INSERT INTO tbl VALUES (range(100000), [x::VARCHAR || (x + 1)::VARCHAR for x in range(100000)]); | ||
|
||
run | ||
SELECT list_transform(l, (x, x_i) -> (x, zip[x_i])) FROM tbl; |
Oops, something went wrong.