Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
1
Task/Gotchas/DuckDB/gotchas-1.duckdb
Normal file
1
Task/Gotchas/DuckDB/gotchas-1.duckdb
Normal file
|
|
@ -0,0 +1 @@
|
|||
select list_transform([1,2,3], x -> (select 1));
|
||||
2
Task/Gotchas/DuckDB/gotchas-2.duckdb
Normal file
2
Task/Gotchas/DuckDB/gotchas-2.duckdb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
create or replace function rnv(mean, sd) as
|
||||
(select (( sqrt(-2 * ln(random())) * cos(2 * pi() * random())) * sd) + mean);
|
||||
1
Task/Gotchas/DuckDB/gotchas-3.duckdb
Normal file
1
Task/Gotchas/DuckDB/gotchas-3.duckdb
Normal file
|
|
@ -0,0 +1 @@
|
|||
select rnv(0,1) from range(0,10);
|
||||
3
Task/Gotchas/DuckDB/gotchas-4.duckdb
Normal file
3
Task/Gotchas/DuckDB/gotchas-4.duckdb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
create function l() as [1,2];
|
||||
|
||||
create function pp(lst) as table (select unnest(lst));
|
||||
1
Task/Gotchas/DuckDB/gotchas-5.duckdb
Normal file
1
Task/Gotchas/DuckDB/gotchas-5.duckdb
Normal file
|
|
@ -0,0 +1 @@
|
|||
select last(line) from read_csv('seq.txt', sep='', columns={'line': VARCHAR});
|
||||
2
Task/Gotchas/DuckDB/gotchas-6.duckdb
Normal file
2
Task/Gotchas/DuckDB/gotchas-6.duckdb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
select last(line) from read_csv('seq.txt', header=false, sep='',
|
||||
columns={'line': VARCHAR}, parallel=true);
|
||||
3
Task/Gotchas/DuckDB/gotchas-7.duckdb
Normal file
3
Task/Gotchas/DuckDB/gotchas-7.duckdb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(let numbers [1 2 3 4]
|
||||
maximum (max numbers)) ;should be (... max numbers)
|
||||
(+ maximum 5)
|
||||
2
Task/Gotchas/DuckDB/gotchas-8.duckdb
Normal file
2
Task/Gotchas/DuckDB/gotchas-8.duckdb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(mock + (fn a b ((unmocked +) a b 1)))
|
||||
(+ 2 3)
|
||||
Loading…
Add table
Add a link
Reference in a new issue