forked from duckdb/duckdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'duckdb:main' into median-evens
- Loading branch information
Showing
205 changed files
with
1,718 additions
and
580 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
24 changes: 24 additions & 0 deletions
24
.github/patches/extensions/spatial/buffer_manager_allocate.patch
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,24 @@ | ||
diff --git a/spatial/include/spatial/core/util/managed_collection.hpp b/spatial/include/spatial/core/util/managed_collection.hpp | ||
index 3535aff..dbf21f1 100644 | ||
--- a/spatial/include/spatial/core/util/managed_collection.hpp | ||
+++ b/spatial/include/spatial/core/util/managed_collection.hpp | ||
@@ -95,7 +95,8 @@ void ManagedCollection<T>::InitializeAppend(ManagedCollectionAppendState &state, | ||
state.block = &blocks.back(); | ||
state.block->item_count = 0; | ||
state.block->item_capacity = block_capacity; | ||
- state.handle = manager.Allocate(MemoryTag::EXTENSION, block_size, true, &state.block->handle); | ||
+ state.handle = manager.Allocate(MemoryTag::EXTENSION, block_size, true); | ||
+ state.block->handle = state.handle.GetBlockHandle(); | ||
} | ||
} | ||
|
||
@@ -108,7 +109,8 @@ void ManagedCollection<T>::Append(ManagedCollectionAppendState &state, const T * | ||
state.block = &blocks.back(); | ||
state.block->item_count = 0; | ||
state.block->item_capacity = block_capacity; | ||
- state.handle = manager.Allocate(MemoryTag::EXTENSION, block_size, true, &state.block->handle); | ||
+ state.handle = manager.Allocate(MemoryTag::EXTENSION, block_size, true); | ||
+ state.block->handle = state.handle.GetBlockHandle(); | ||
} | ||
|
||
// Compute how much we can copy before the block is full or we run out of elements |
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,5 @@ | ||
# dsdgen extension global statics | ||
leak:load_dist | ||
leak:find_dist | ||
leak:makePermutation | ||
leak:init_params |
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
Binary file not shown.
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,4 @@ | ||
column1,column2 | ||
yes,no | ||
yes,yes,yes | ||
yes |
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,3 @@ | ||
0�� testEST13 text1 | ||
345 TEST13 'te xt2' | ||
'#67' TESt13 tex |
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,3 @@ | ||
bl1|2 | ||
1690|00i\047v|2 | ||
4a; bla; b lbla; bla; b la; 1a# 1;2;3;4;5 |
Binary file not shown.
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,7 @@ | ||
a | ||
10"10-2020 | ||
10-10-2020 | ||
10-1-# A few comments | ||
# I'm a csv file | ||
a;-10-2020 | ||
10-1-# A fedd |
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,7 @@ | ||
a | ||
10-10-2020 | ||
; ; 3b | ||
1;2;3;4;51/-10-2020 | ||
10-10-# A �ew commenad | ||
# I'm a csv fild�`;b | ||
# This is also a btsd |
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,7 @@ | ||
sv file | ||
a;b | ||
# This o a�ba | ||
1O-10-2020|||||u|||||||||||-# A new c@��nt} | ||
# I'm a csv file | ||
a;b | ||
# This is mlso a�badd |
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,8 @@ | ||
a | ||
10-10-2020 | ||
10-10-2020 | ||
10-:02:03;0# this Ns i file | ||
10-# Aew com-ents | ||
# I'm a csv1:02:03;0# this Ns i file | ||
a;b | ||
# This is also a badd |
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,7 @@ | ||
a | ||
10-10-2020 | ||
10-10-2020 | ||
10-10-# A few c�mments | ||
# I'm a csv file | ||
a;b | ||
aThis is# lso a badd |
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,7 @@ | ||
a&10-10-2020 | ||
10-134fd321 | ||
fg50a&10-10-2020 | ||
10-10-2020 | ||
10-10--# A few ||1 | ||
||||||||||||||| a csv file | ||
a;b # ThiW is also a Oadd |
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,5 @@ | ||
1 bl00000|19 4|658 | ||
10000000|a; bla; b la; ; 3b | ||
1;2;3;4;5 | ||
1;2;3;4;5 | ||
1#2;3;4;5 |
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,3 @@ | ||
@|1few comme010-10-2020 | ||
10 10-# A 0-150-202nus | ||
# J'm a csv file�a;a�# Th�s is also a badd |
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,7 @@ | ||
a | ||
10 I'm a csv fe | ||
a;b | ||
# | ||
0-10-200YYYYYYYYYY# I'm a csv file | ||
a;b | ||
# This@is also a bad |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,10 @@ | ||
a | ||
10-10-2020 | ||
10-10-2020 | ||
e | ||
a;b | ||
0-# A few comments | ||
# I'm a -10-# A few comments | ||
# I'm a csv file | ||
a;b | ||
# This is also a badd |
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 @@ | ||
a | ||
1�-2020 | ||
10-1�-2020 | ||
10-10-2020 | ||
10-10-# A few commea,b | ||
1,2 | ||
1,2 | ||
) | ||
|
||
����ts | ||
# I'm a csv file | ||
a;b | ||
## A -2020 | ||
10-10-# A few cowmea,s �lso a badd |
Binary file not shown.
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,4 @@ | ||
2a,b,t,d,ts | ||
123,TEST2,12:12:12,2000.01.01,2000.01.01 12:12:00 | ||
345,TEST2,14:15:30,2002.02.02,2002.02.02 14:15:00 | ||
b # This2is al1017,2004.16:00 |
Binary file not shown.
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,2 @@ | ||
2.2.2;;1.2.2,twR,t2 bla hwee,1.2.2,twR,t22,twR,t2 0 | ||
10-10-10-#0 bla hwee,fru |
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,2 @@ | ||
2.2.2;:twR,t,1.2.22 bla;3 ll wi13 text1 | ||
345 xt2'#'5teTE bla blG;- hwee,fru |
Binary file not shown.
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,3 @@ | ||
3b | ||
1;2;# | ||
1Y3#5: |
Binary file not shown.
Oops, something went wrong.