Skip to content

Commit

Permalink
Add Nested Types to the Appender (#150)
Browse files Browse the repository at this point in the history
* Add nested lists and structs

* start adding parent struct

* Add callback functios

* Nested in nested works!

* Add more nested tests

* BIG tests

* Change test format

* Final changes

* rm unused library

* fix nits

* implement preallocation and new types

* rm unused struct

* add test for large table with nested types

* destroy logical types

* UUID now works

* add naive benchmark

* support validity mask

* move nested null tests to nested

* fix appender nits

* fix appender_bench_test.go nits

* fix appender_bench_test.go nits

* reduce table size

* after flush correctly create new chunk

* Fix null handling in lists

* Fix null handling in lists

* Start adding error handling for mismatched types

* Add mismatch error and tests

* fix brackets

* remove unused map

* remove unused arguments

* add C.duckdb_list_entry

* fix nits and clean up chunks if error

* fix TestAppenderNestedStructMismatch

* Reduce test size

* Refactor and speedup tests

* Refactor

* Refactor Appender

* Add UUID type and more tests

* Use TIMESTAMP

* Use timestamp with fixed date/time

* verify NULL breaks test

* disable setting the validity mask

* second row

* test without varchar

* set validity of child vectors

* fixing NULL STRUCTs and other changes

* don't keep logical type in colInfo, more VARCHAR fields in nested tests

* more nested NULL tests

* renaming

* fix BLOB

* test BLOB/uint8[] vs UTINYINT[]

---------

Co-authored-by: Marc Boeker <[email protected]>
Co-authored-by: taniabogatsch <[email protected]>
  • Loading branch information
3 people authored Feb 16, 2024
1 parent 438bcbd commit e26a426
Show file tree
Hide file tree
Showing 4 changed files with 1,259 additions and 255 deletions.
Loading

0 comments on commit e26a426

Please sign in to comment.