TileDB v2.30.0 Release Notes
December 10, 2025 ยท View on GitHub
New features
- Support
VFS::copy_fileacross filesystems. #5636 - Add support for copying directories across filesystems. #5666
- Add VFS support for
tiledb://URIs. #5631
Improvements
- Improve performance of listing files in Windows. #5617
- Improve performance when opening arrays. #5651
- Update shuffle and bitshuffle filter implementations to use
blosc2. #5620 - Add handling for empty
profiles.json. #5685 - Create a reusable workflow for building artifacts. #5691
- Reduce latency when uploading objects on S3 and GCS. #5688
- Fix flaky schema evolution test using explicit timestamp ordering. #5689
- Add cycle detection to
Group::dump(). #5693
Deprecations
- Remove deprecated dump APIs. #5585
Defects removed
- Fix building
testswiths3enabled. #5624 - Use function-local static for
logger_prefix_to ensure safe, single-time initialization. #5630 - Check
non_empty_domain.sizessize before access. #5650 - 0-byte read
GCSbug fix. #5673 - Fix dense global order writer use of
max_fragment_size_. #5655 - Do not provide storage URIs in TileDB-Server REST requests. #5687
- Update group URI to Logical URI coming from the Server #5710
- Error if storage location is provided in array / group create request. #5713
API changes
C API
- Move
tiledb_ctx_alloc_with_errorfunction to stable APIs header. #5667 - Expose
overwriteparameter intiledb_profile_save. #5695 - Add C API for getting REST data protocol. #5697
C++ API
- Improved error reporting when creating a context fails. #5667
- Expose the
overwriteparameter inProfile::save. #5695 - Add C++ API for getting REST data protocol. #5697
Build system changes
- Improve build times when not specifying a build target. #5606
- Acquire
nlohmann-jsonfromvcpkg. A vendored copy of the library is removed. #5609 - Fix
zip_viewdefault constructor for C++20 concepts compliance. #5611 - Fix compile errors in compilers defaulting to C23. #5612
- Remove vendored
Boostcode. #5619 - Bump
ubuntuversion to 24.04. #5574 - Update
vcpkgversion baseline to https://github.com/microsoft/vcpkg/commit/3b9d086009cc1c2256e9c28ad44a00036fbd9b26. #5616 - Remove vendored sources of
bloscandkiyo-masui/bitshuffle, and add a dependency toblosc2. #5620 - Fixed wrong release artifact names on macOS. #5703
TileDB v2.29.2 Release Notes
Defects removed
- Fix dense fragment domains during global order write with maximum fragment size #5676
TileDB v2.29.1 Release Notes
New features
- Add support for Azure Data Lake Storage. #5652
Defects removed
- Fix deserialization of relative group member URI #5654
TileDB v2.29.0 Release Notes
Breaking behavior
- Remove experimental features code and build/bootstrap option. #5540
tiledb_filestore_uri_importandtiledb_filestore_buffer_importno longer auto-detect the file's MIME type.TILEDB_MIME_AUTODETECTwill always set the filestore array's MIME type toapplication/octet-stream. #5605tiledb_filestore_uri_importandtiledb_filestore_buffer_importno longer auto-detect the file's encoding. New filestore arrays will always have their encoding metadata set tobinary. #5605tiledb_filestore_uri_importandtiledb_filestore_buffer_importno longer compresses the filestore array's content. #5605
New features
- Add support for
Profilesonto theConfig. #5498 - Add support for relative URI remote group members. #5635
- Add
ls_recursive_v2that includes directories in results for all backends. #5602
Improvements
- Finalize Profile feature and add example. #5533
- Use config parameters instead of a config setter to set a profile on a config object. #5539
- Relax Profile parameter constraints for flexibility. #5547
- Adjust global logger default level to align with
config.logging_levelwhen no context is created. #5551 - Avoid throwing on missing Profile parameters in getter APIs. #5552
- Improve Fill Value Dumping for Non-Printable Characters. #5556
- Fix
Subarray::add_rangeto validate var_size consistency between range and dimension. #5569 - Class
MemFSinherits base classFilesystemBase. #5573 - Class
GCSinherits base classFilesystemBase. #5576 - Class
Azureinherits base classFilesystemBase. #5575 - Update array create to pass the storage path in payload. #5565
- Class
Windowsinherits base classFilesystemBase. #5578 - Class
VFSinherits base classFilesystemBase. #5584 - Fix empty array name for URIs with trailing slash. #5591
- Refactor
class VFSto remove#ifdefs. #5589 - Add support for
tiledb_vfs_copy_fileandtiledb_vfs_copy_diron Windows. #5600 - Allow adding relative group members to remote groups. #5623
- Always check return codes in
Curl::get_dataand throw #5640 - Do not retry most SSL-related failures in the REST client. #5638
- Respect
TILEDB_PROFILE_DIRenvironment variable in Profile save path. #5644
Deprecations
- Deprecate
ls_recursive. #5602
Defects removed
- Fix overflow detection errors in double delta and bit width reduction filters. #5506
- Fixed integer overflows. #5518
- Fix a missing newline in array-schema printer. #5522
- Erase
paramfromset_params_inConfig::unset. #5519 - Build error on
make exampleson M1 Mac for the PNG/Web_P examples. #5529 - Fix segfault race condition at process exit. #5477
- URL encode workspace and teamspace for REST URIs. #5544
- Fixed compile errors in the S3 VFS. #5545
- Fix
Subarray::add_point_ranges_varto use the appropriate variable dataRangeconstructor. #5560 - Update to use new route for group creation. #5543
- Fix Rust linter error #5577
- Fixed opening groups on object storage, that contain directory placeholder files. #5558
- Fixed the
tiledb_vfs_create_dirfunction to automatically create non-existent parent directories on POSIX. #5579 - Fixed the
tiledb_vfs_create_dirfunction to not fail when the directory already exists. #5579 - Correctly reset bugdet when initial data already loadad. #5599
- Fixed incorrect documentation of
tiledb_vfs_copy_dir. #5600 - Fix build errors with
--disable-statsfrom unused variable warnings. #5603 - Fix
zip_viewdefault constructor for C++20 concepts compliance. #5613 - Fixed compile errors in compilers defaulting to C23. #5639
API changes
C API
- Introduce
ProfileC APIs:tiledb_profile_alloc,tiledb_profile_free,tiledb_profile_get_name,tiledb_profile_get_homedir,tiledb_profile_set_param,tiledb_profile_get_param,tiledb_profile_save,tiledb_profile_load,tiledb_profile_remove, andtiledb_profile_dump_str. #5492 - Introduce
tiledb_current_domain_dump_strandtiledb_ndrectangle_dump_str. #5538
C++ API
- Introduce
ProfileC++ APIs:name,homedir,set_param,get_param,save,load,remove,dump. #5492 - Introduce
operator<<overloads for theCurrentDomainandNDRectangle. #5538 - Introduce
ls_recursive_v2that includes directories in results for all backends. #5602
Build System Changes
- Install serialization C API headers regardless of build configuration. #5530
- Removed dependency to libmagic. #5605
TileDB v2.28.1 Release Notes
New features
- Add support for
Profilesonto theConfig. #5570
Improvements
- Finalize Profile feature and add example. #5572
- Update array create to pass the storage path in payload #5582
- Use config parameters instead of a config setter to set a profile on a config object. #5586
- Relax Profile parameter constraints for flexibility. #5587
- Avoid throwing on missing Profile parameters in getter APIs. #5588
- URL encode workspace and teamspace for REST URIs. #5549
- Update to use new route for group creation. #5581
- Fix empty array name for URIs with trailing slash. [#5592] (https://github.com/TileDB-Inc/TileDB/pull/5592)
Defects removed
- Fixed compile errors in the S3 VFS. #5554
- Fix Subarray::add_point_ranges_var to use the appropriate variable data Range constructor. #5562
- Fixed integer overflows. #5571
- Fixed opening groups on object storage, that contain directory placeholder files. #5583
API changes
C API
- Introduce Profile C APIs: tiledb_profile_alloc, tiledb_profile_free, tiledb_profile_get_name, tiledb_profile_get_homedir, tiledb_profile_set_param, tiledb_profile_get_param, tiledb_profile_save, tiledb_profile_load, tiledb_profile_remove, and tiledb_profile_dump_str. #5564
- Introduce
tiledb_current_domain_dump_strandtiledb_ndrectangle_dump_str. #5561
C++ API
- Introduce Profile C++ APIs: name, homedir, set_param, get_param, save, load, remove, dump. #5564
- Introduce
operator<<overloads for theCurrentDomainandNDRectangle. #5561
Build System Changes
- Install serialization C API headers regardless of build configuration. #5559
TileDB v2.28.0 Release Notes
Disk Format
Breaking C API changes
Breaking behavior
- The release binaries for Windows now require MSVC 2022 runtime libraries. #5419
- On local filesystem, VFS operations will automatically create all missing parent directories when creating a file. #5480
manylinux_2_28for linux release #5398
New features
- Add endpoint for REST version and capabilities. #5429
- Add
Enumeration::index_ofAPI #5482 - Support setting of schema-creation timestamp #5484
Improvements
- Added additional context in the error messages of operations that likely failed due to region mismatch. #5380
- Add classes for
TaskandSharedTaskin threadpool #5391 - Improved error messages when the S3 or Azure multipart upload part size is too low, and suggest improving it. #5406
- C.41 constructor:
Azure. #5392 - C.41 constructor:
GCS#5393 - Show errant values in current-domain out-of-bounds error message #5421
- Use
-fvisibility=hiddenforspdlog#5427 - Show file size, offset, nbytes, and URI in file-read error message #5432
- Sparse global order reader determine global order of result tiles #5417
- Result tile wait_all should block on the async I/O result #5446
- Split C API smoke tests up into one dynamic section per read query #5456
- Users should be able to create an enumeration of which the sole value is the empty string #5460
- Enable null test query conditions on non-nullable attributes #5464
- Schema evolution consistent attribute order #5470
- Improve efficiency of
Enumeration::generate_value_map#5493 - Optimized cost efficiency of getting file size on Azure. #5497
- Optimize
Enumeration::extendimplementation #5483
Deprecations
- Removed support for HDFS. #5496
Defects removed
- Fixed
tiledb_vfs_is_filemasking failures on S3 by returning false. #5380 - Fix macos x86_64 release #5384
- Fix a bug in
Domain::expand_to_tiles(NDRange*), which failed to respect the current domain, causing errors when tile extents exceeded it. A new function is introduced to properly account for the current domain during consolidation. #5390 - Fix swap of uninitialized variables #5412
- Patch intermittent
SchemaEvolutiontest failure. #5435 - Fix failures when opening an array or group with an empty
.vacfile. #5452 - Fix compile errors with Visual Studio 2022 17.13. #5454
- Do not create empty
.vacfiles in metadata consolidation #5453 - Repeatable read for multiple fragments written at fixed timestamp #5459
- Fixed
tiledb_vfs_touchto not overwrite existing files on GCS. #5285 - Fixed
tiledb_vfs_touchto not overwrite existing files or fail on Azure and Windows respectively, under race conditions. #5285 - Fix whitespace error in printing quoted paths #5469
- Fixed opening arrays with unrecognized files in their root directory. #5474
- Fix undefined behavior in
Enumerationconstructor #5479 - Fixed linker errors when building tests. #5481
- Fix sparse global order reader progress check #5485
- Fix segfault in query condition after evolution. #5487
- Fix wrong results when using query conditions with strings containing null byte #5486
API changes
C API
- Add
tiledb_field_get_nullableAPI #5378 - Add
tiledb_stats_is_enabledto C APIs #5395 - Update documentation of
tiledb_vfs_touchto specify that existing files are not overwritten, matching the current behavior. #5285 - Support setting of schema-creation timestamp #5484
- Add bulk point-range setter
tiledb_subarray_add_point_ranges_var#5490
C++ API
- Add
Stats::is_enabled()to C++ APIs #5395 - Add
consttoattributeinAttributeExperimental::get_enumeration_name#5457
Build System Changes
- Update vcpkg version baseline to https://github.com/microsoft/vcpkg/commit/ea2a964f9303270322cf3f2d51c265ba146c422d. #5430
TileDB v2.27.0 Release Notes
Disk Format
- (documentation) The storage format specification was updated to document format changes of previous versions throughout the main document. #5329
Breaking behavior
- Deleting an array or group will also delete its root directory if it was left empty. #5269
New features
- Dumping fragment info now includes the name of each fragment's array schema. #5257
- Added support for the
ssl.ca_pathconfig option on Azure. #5286 - Connections to TileDB REST API now use TCP keepalive by default. #5319 and curl retries #5273.
- Added support for "current domain" on dense arrays. #5303
Configuration Options
- Add
vfs.log_operationsconfig option to log in trace level all VFS operations and their duration. #5278 - The default value of
vfs.s3.regionwas changed to empty, which will let the AWS pick the default region from sources such as environment variables, profile configuration, and instance metadata. #5317 - Add
rest.curl.tcp_keepaliveconfig option that controls using TCP keepalive for TileDB REST connections. It is enabled by default. #5319
Improvements
- Fix read queries on sparse arrays where only aggregates are requested and no layout is specified. #5255
- Prevent potentially unsafe consolidation in dense arrays by fragment list. #5251
- Improve error messages for unsupported data types in aggregates. #5289
- Remove StorageManager from stats dumps. #5297
- Precompute memory usage for tile offsets and error if not loadable due to memory limits. #5310
- GCS object composition temporary files now end with
.tiledb.tmp, which may be used to set a lifecycle rule. #5372 - Updated libmagic to version 5.45. #5332
- Linux aarch64 release #5271
Deprecations
- Deprecate
tiledb_filestore_*APIs. #5371
Defects removed
- Fix an incompatibility with S3 Express One Zone, by stopping setting
Content-MD5on all S3 uploads. #5226 - Update range end when merging overlapping subarray ranges. #5268
- Fixed GZip compression of empty data. #5296
- Fix HTTP requests for AWS default credentials provider chain not honoring config options. #5315
- Fix dense reader fill value with
sm.var_offsets.mode = elements#5331 - Schema evolution bug fix: Reads no longer fail after dropping a fixed attribute and adding it back as var-sized. #5321
- Fixed the
tiledb_ctx_alloc_with_errorfunction not being exported from the library. #5357 - Set increased traversal limit in enumeration deserialization #5365
- Fix heap corruption when getting context and query stats from C++ under certain circumstances. #5366
- Schema evolution bug fix: Reads no longer fail after dropping a fixed attribute and adding it back as var-sized, part 2. #5362
- Remove defective test case that's failing in nightly builds. #5369
- Follow up on #5359 #5368
API changes
C API
- Add
tiledb_array_schema_get_enumerationAPI. #5359 - Add
tiledb_group_add_member_with_typeAPI to get group member with type in single call. #5336 - Introduce tiledb_array_load_enumerations_all_schemas. #5349
- Added
tiledb_group_dump_str_v2API that returns atiledb_string_t*. The existingtiledb_group_dump_strAPI is deprecated. #5367 - Add
tiledb_fragment_info_dump_strC API and replaceFragmentInfo::dump(FILE*)withoperator<<overload. #5266
C++ API
- Fix error log messages when using the
Arrayclass in the C++ API. #5262 - Add overload to the
Array::createfunction that explicitly accepts a context. #5325 - Update
Group::add_memberAPI to accept an optional type. #5336 - Introduce
ArrayExperimental::load_enumerations_all_schemas. #5349
Build System Changes
- Update vcpkg version baseline to https://github.com/microsoft/vcpkg/commit/101cc9a69a1061969caf4b73579a34873fdd60fe. #5010
- Fixed cross-compiling support in the libmagic vcpkg port overlay. #5333
- The
TILEDB_CCACHEoption was fixed to have effect, after being accidentally disabled in version 2.26.0. #5342 - Fixed double installation of a header when serialization is enabled. #5354
TileDB v2.26.2 Release Notes
Defects removed
- Fix HTTP requests for AWS default credentials provider chain not honoring config options. #5318
TileDB v2.26.1 Release Notes
Improvements
- Fail early on dense reads when tile offsets are too large. #5311
TileDB v2.26.0 Release Notes
Breaking behavior
- The superbuild architecture of the build system has been removed and TileDB is now a single-level CMake project. Build commands of the form
make && make -C tiledb <targets>will have to be replaced bymake <targets>. #5021
Breaking C API changes
- All deprecated C and C++ APIs were removed. #5146
New features
- Add support for getting the datatype of a ndrectangle dimension. #5229
- Add dim num support for ndrectangle. #5230
Improvements
- Added new functions to write schema dump to a string rather than stdout, so that non-console interactive environments such as Jupyter will be able to capture and print the output. #5026
- Improve dense read performance for small reads. #5145
- Skip caching redirect uri on array create. #5224
- Enable curl error retries. #5275
Deprecations
- Warn users using dense arrays with sparse fragments. #5116
Defects removed
- Fix fragment consolidation to allow using absolute URIs. #5135
- Reset offsets in buffer list for retries. #5220
- Fix symbol clashes between
tiledbandpyarrowby building the AWS SDK with its internal symbols hidden. #5223
Configuration changes
- The
sm.use_refactored_readersconfig option is no longer recognized. Refactored readers are used by default. To use the legacy reader, set thesm.query_(dense|sparse_global_order|sparse_unordered_with_dups)_readerconfig option (depending on the reader you are using) tolegacy. #5183
API changes
C API
- Add ctx to CurrentDomain CAPI. #5219
- Add new CAPIs to dump array schema, attribute, dimension, domain, enumeration and group to a string. #5026
Build System Changes
- The version of OpenSSL linked to the release artifacts was updated to 3.1.4, and moving forward will be synced to the vcpkg
builtin-baseline. #5174
TileDB v2.25.0 Release Notes
Announcements
- TileDB 2.25, includes the new current domain feature which allows to specify an area of the domain that is considered to be active for sparse arrays.
Deprecation announcements
- The HDFS backend is no longer officially tested by TileDB. As announced before, it is scheduled to be removed in version 2.28, to be released in Q4 2024. #5085
- Support for reading sparse fragments in dense arrays will be removed in version 2.27. Writting sparse fragments in dense arrays was removed in version 2.5. #5116
- Support for returning the same results multiple times in sparse reads when ranges overlap will be removed in version 2.27. This was possible by setting
sm.merge_overlapping_ranges_experimentaltofalse, but the defaulttruebehavior has been there since version 2.17.
New features
- REST support for current domain. #5136
- Disallow writing outside of the current domain. #5165
- Current domain: disallow reading outside of current domain. #5168
Improvements
- Improve memory consumption for tile structures in dense reader. #5046
Defects removed
- Fail early when trying to add members with relative URIs in remote groups. #5025
- Correct defective return value in
Posix::ls_with_sizes. #5037 - Prevent constructing attribute with invalid cell_val_num. #4952
- Do not mask failures when listing a directory fails on POSIX. #5043
- Fix write queries using
sm.var_offsets.extra_element=true. #5033 - Fix segfaults in WebP queries ran in parallel. #5065
- Fix exceptions with message:
unknown exception type; no further information. #5080 - Fix check for out of bounds dimension in Dimension::dimension_ptr. #5094
- Fix array latest schema selection for same MS timestamps schemas. #5143
- Fix serialization issue with schema evolution for query v3. #5154
Configuration changes
- Add
vfs.s3.storage_classconfig option to set the storage class of newly uploaded S3 objects. #5053 - Add
rest.custom_headers.*config option to set custom headers on REST requests. #5104 - Add
rest.payer_namespaceconfig option to set the namespace to be charged for REST requests. #5105
API changes
C API
- Add CurrentDomain API support. #5041
C++ API
- Current Domain CPP API implementation. #5056
Build System Changes
- Backwards compatibility with older CMake versions for libfaketime. #5049
- Automatic downloading of vcpkg can be disabled by enabling the
TILEDB_DISABLE_AUTO_VCPKGCMake option, in addition to setting the environment variable with trhe same name. #5048 - Improve embedding of
magic.mgcand allow compiling with any libmagic version. #4989
Internal Improvements
- Implement actualize function that orders data underlying
alt_var_length_view#5087 - Implement a partitioning function to partition cells to fit into fixed size bins #5092
- Implementation of a
chunk_viewclass to provide a subset of C++23 chunk_view, suitable for supporting external sort. #5035 - Tests that the chunks in a
chunk_viewcan be separately sorted. #5052
TileDB v2.24.2 Release Notes
Defects removed
- Fix serialization issue with schema evolution for query v3. #5154
TileDB v2.24.1 Release Notes
Defects removed
- Fix segfaults in WebP queries ran in parallel. #5065
Configuration changes
- Add
vfs.s3.storage_classconfig option to set the storage class of newly uploaded S3 objects. #5053 - Add
rest.custom_headers.*config option to set custom headers on REST requests. #5104 - Add
rest.payer_namespaceconfig option to set the namespace to be charged for REST requests. #5105
TileDB v2.24.0 Release Notes
Deprecation announcements
In version 2.26.0, the superbuild architecture of the build system will be removed and TileDB will become a single-level CMake project with no CMake sub-build for libtiledb after dependencies are built (as of TileDB 2.24, dependencies are built at configuration time with vcpkg). make install-tiledb will continue to work, but will become effectively an alias for make install, which will always produce an up-to-date install after this change. Other build commands of the form make && make -C tiledb <targets> will have to be replaced by make <targets>. You can preview the effects of this change by configuring with CMake and passing the -DTILEDB_CMAKE_IDE=ON option.
Configuration changes
- Implement consolidation memory budget variables. #5011
New features
- Add stats counter
memory_budget_exceededfor when a query goes over budget. #4993 - Support VFS
ls_recursiveAPI for Azure filesystem. #4981 - Support VFS
ls_recursiveAPI for Google Cloud Storage filesystem. #4997
Defects removed
- Fix SEG faults in the SparseGlobalOrderReader when using a Query Condition. #5012
- Throw error on dimension drop in schema evolution. #4958
- Reject unordered tile/cell order when creating an ArraySchema. #4973
- Disallow possibly-invalid reinterpret datatypes for delta and double delta compression filters. #4992
- Fix performance regression in group::dump(). #5002
- Fix traversal limit in array metadata serialization. #4971
API changes
C API
- Experimental APIs related to groups, deleting arrays and upgrading the format version of arrays were moved to stable. You can use them without including
<tiledb_experimental.h>. #4919 - Add array uri to tiledb_array_deserialize. #4961
C++ API
- The experimental
Groupclass was moved to stable. You can use it without including<tiledb_experimental>. #4919
Build System Changes
- Fix AVX2 support detection. #4969
- Fix configuration errors when cross-compiling. #4995
- Fix build errors where the fmt headers could not be found for spdlog. #5008
Internal Improvements
- Implement zip_view for external sort. #4930
- Write iter_swap for zip_view for external sort. #4943
- Implement proxy sort permutation for external sort. #4944
- Implemented offset/length conversion functions for external sort. #4948
TileDB v2.23.1 Release Notes
Improvements
- Add array uri to tiledb_array_deserialize #4961
Defects removed
- Fix segfaults in WebP queries ran in parallel. #5065
Configuration changes
- Add
rest.custom_headers.*config option to set custom headers on REST requests. #5104 - Add
vfs.s3.storage_classconfig option to set the storage class of newly uploaded S3 objects. #5053 - Add
rest.payer_namespaceconfig option to set the namespace to be charged for REST requests. #5105
TileDB v2.23.0 Release Notes
Deprecation announcements
- All deprecated APIs will be removed in version 2.26. TileDB can be built with
--remove-deprecations(bootstrap) or-DTILEDB_REMOVE_DEPRECATIONS(CMake) to validate that projects are not using any deprecated APIs.
Improvements
- Improve diagnostics when an Azure endpoint is not configured. #4845
- Do not attempt Azure shared key authentication if no account name is specified. #4856
- Clarify the documentation for the non empty domain CAPI. #4885
- Make closing a group that is not open a no-op. #4917
Defects removed
- Fix wrong fallback cell order for Hilbert. #4924
- Config serialization should take into account environment variables. #4865
- Vac files should only be removed if paths removal was fully successful. #4889
- Fix C query condition examples. #4912
C++ API
Query::submit_asyncis deprecated. CallQuery::submit()on another thread instead. #4879- Overloads of methods and constructors in
ArrayandArraySchemathat accept encryption keys are deprecated. Specify the encryption key with thesm.encryption_typeandsm.encryption_keyconfig options instead. #4879 - Add C++ API for tiledb_array_consolidate_fragments. #4884
Build System Changes
- Vcpkg is always enabled; turning the
TILEDB_VCPKGoption off is no longer supported and fails. #4570 - Update the
TILEDB_REMOVE_DEPRECATIONSoption to exclude all deprecated C and C++ APIs from the library binary and the headers. #4887
Internal Improvements
- Implement iterator facade for external sort. #4914
- Implement var_length_view and unit tests for external sort. #4918
- Implement permutation view for external sort. #4920
- Implement proxy sort for external sort. #4922
- Implement alt var length view for external sort. #4925
TileDB v2.22.0 Release Notes
Deprecation announcements
- Support for downloading dependencies with CMake
ExternalProjects by specifying-DTILEDB_VCPKG=OFFwill be removed in 2.23. Vcpkg will be downloaded and used to manage dependencies by default. See https://github.com/TileDB-Inc/TileDB/blob/dev/doc/dev/BUILD.md for help on how to disable automatically downloading vcpkg and acquire dependencies from the system.
Configuration changes
- Add
vfs.gcs.service_account_keyconfig option that specifies a Google Cloud service account credential JSON string. #4855 - Add
vfs.gcs.workload_identity_configurationconfig option that specifies a Google Cloud Workload Identity Federation credential JSON string. #4855
New features
- Support Microsoft Entra ID authentication to Azure. #4126
Improvements
- Allow to set buffers for geometry types with CPP API more easily. #4826
Defects removed
- Throw error when an upload fails due to bad state. #4815
- Single-process sub-millisecond temporal disambiguation of random labels. #4800
- Expose VFSExperimental and relocate CallbackWrapperCPP. #4820
- Do not load group metadata when getting it from REST. #4821
- Fix crash getting file size on non existent blob on Azure. #4836
TileDB v2.21.2 Release Notes
Defects removed
- Fix crash getting file size on non existent blob on Azure. #4836
TileDB v2.21.1 Release Notes
Defects removed
- Do not load group metadata when getting it from REST. #4821
TileDB v2.21.0 Release Notes
Deprecation announcements
- Building with Visual Studio 2019 (MSVC toolchains v14.29 and earlier) will become unsuported in version 2.28, to be released in Q3 2024.
- HDFS support will be removed in version 2.28, to be released in Q3 2024.
- Support for GLIBC 2.17 (manylinux2014, based on CentOS 7) will be removed in TileDB version 2.31, to be released in Q4 2024. It will be replaced by support for GLIBC 2.28 (manylinux_2_28; RHEL8; Rocky Linux 8).
New features
- Add datatypes GEOM_WKB and GEOM_WKT. #4640
TileDB backend API support:
Improvements
- Optimize sparse reads when full non empty domain is requested. #4710
- Lazily initialize the Azure SDK client. #4703
- Remove QueryCondition requirement for Enumeration values to be valid. #4707
- Convert dimension function pointer members to subclass methods. #4774
- Implement dense dimension aggregates. #4801
Defects removed
- Fix documentation of
Subarray::set_configto matchtiledb_subarray_set_config. #4672 - Fix stats bug in StorageManager. #4708
- Add explicit casts to fix compile errors. #4712
- Fix bug with new minio behavior. #4725
- Support reading V1 group details with explicit version in the name. #4744
- Update crop_range to clamp to domain range. #4781
- Fix segfault in ArraySchema::check. #4787
- Fix crash in aggregates on dimensions. #4794
- Fix defects with query channels. #4786
- Remove trailing slash from
rest.server_addressconfiguration option. #4790 - Provide a clear exception message when performing remote incomplete queries with aggregates. #4798
API changes
C API
- Support VFS
ls_recursiveAPI for posix filesystem. #4778
Test only changes
- Add unit_vfs to tests for windows/osx/linux. #4748
Build System Changes
- Update vcpkg version baseline to https://github.com/microsoft/vcpkg/commit/72010900b7cee36cea77aebb97695095c9358eaf. #4553
- Add vcpkg triplets for RelWithDebInfo. #4669
- Reintroduce the
TILEDB_STATICoption under a deprecation warning. #4732 - Fix linker errors when building with MSVC. #4759
- CPack in Release Workflow. #4694
- Single release CMake file that contains all required links/hashes. #4631
- Improve build performance when GCS is enabled. #4777
- Fix compiling unit tests when HDFS is enabled. #4795
- Add CPack support to CMakeLists.txt. #4645
TileDB v2.20.1 Release Notes
Defects removed
- Support reading V1 group details with explicit version in the name. #4744
Build System Changes
- Reintroduce the
TILEDB_STATICoption under a deprecation warning. #4732
TileDB v2.20.0 Release Notes
Breaking behavior
- The minimum supported macOS version on x64 is 11. #4561
New features
- Add internal definitions for S3 ls recursive #4467
- Add experimental C API for ls_recursive. #4615
- Add experimental CPP API for ls_recursive. #4625
Improvements
- Keep opened array resources alive until query ends. #4601
- Avoid needless buffer reallocations when consolidating fragments. #4614
- Update the AWS SDK to version 1.11.215. #4551
- Fix consolidation plan to print relative paths in output. #4604
- Fix traversal limit in array deserialization. #4606
- Add function random_label to utilize PRNG for random string generation. #4564
- Improve large dense aggregate reads with tile metadata only. #4657
Defects removed
- Fix regression when libraries were sometimes installed in the
lib64directory. #4562 - Don't segfault in ArraySchema::dump when enums are not loaded. #4583
- Fix out of order consolidation. #4597
- Finalize should error out for remote global order writes. #4600
- Fix aggregate leak when field doesn't exist. #4610
- Fix HTTP requests for AWS assume role not honoring config options. #4616
- Fix recursively dumping a group with a nonexistent subgroup. #4582
- Fix HTTP requests for AWS assume role with web identity not honoring config options. #4641
Build System Changes
- Adds centos stream 9 dockerfile that builds tiledb #4591
- Export a
TileDB::tiledbCMake target regardless of static or dynamic linkage. #4528 - Add a document with build instructions. #4581
- Remove the
TILEDB_STATICoption and replace it withBUILD_SHARED_LIBS. #4528 - The build system supports building only a static or shared library from the same buildtree. #4528
BUILD_SHARED_LIBSis enabled by default. #4569- Add packaging tests into linux and mac CI pipelines. #4567
- Add vcpkg triplets for Address Sanitizer. #4515
- Fix regression where release artifacts had 8-digit commit hashes. #4599
- Fix importing TileDB in CMake versions prior to 3.18. #4671
TileDB v2.19.2 Release Notes
Defects removed
- Fix bug with new minio behavior. #4725
- Support reading V1 group details with explicit version in the name. #4744
Build System Changes
- Fix regression where release artifacts had 8-digit commit hashes. #4599
- Fix linker errors when building with MSVC. #4759
TileDB v2.19.1 Release Notes
Improvements
- Improve large dense aggregate reads with tile metadata only. #4657
Defects removed
- Fix HTTP requests for AWS assume role with web identity not honoring config options. #4641
- Fix HTTP requests for AWS assume role not honoring config options. #4616
TileDB v2.19.0 Release Notes
Announcements
- TileDB 2.19, targeted for release in December 2023, includes performance improvements to the aggregate pushdown APIs.
Breaking behavior
- The Windows release artifacts no longer include static libraries. #4469
New features
- Allow aggregates to pipeline the processing of full tiles. #4465
- Add class TemporaryDirectory to generate a PRNG-seeded unique directory. #4498
- Add sm.consolidation.total_buffer_size setting. #4550
- Use tile metadata in aggregates. #4468
- Load validity tiles only for null count aggregates when possible. #4513
- Prevent reading tiles when using fragment metadata in aggregates. #4481
Improvements
- Refactor the fragment info loading code to reduce coupling. #4453
- Fragment metadata: adding get_tile_metadata. #4466
- Improve error reporting when performing too large GCS direct uploads. #4047
- Refactor filestore API so that it uses internal TileDB library calls. #3763
- Encode Win32 error messages in UTF-8. #3987
- Remove unused compression defines. #4480
- Integrate baseline object library into the main build. #4446
- Internal clean-up of array timestamps. #3633
- Add base class for VFS filesystems. #4497
- Remove extraneous TILEDB_EXPORT tags. #4507
- Query Plan REST support - part 1: handler. #4516
- Use StorageFormat APIs to generate timestamped uris. #4530
- Refactor the group code. #4378
- Consolidation plan REST support - part1: handler. #4534
- Use constexpr to check for filesystem support. #4548
- Add vfs.gcs.max_direct_upload_size config option. #4047
- Migrate fragment_name parsing into StorageFormat. #4520
- Add setting to disable install_sigpipe_handler on S3. #4573
Defects removed
- Group metadata doesn't get serialized. #3147
- Added
#include <array>totiledb/sm/cpp_api/type.h. #4504 - Fix broken linking tests against a shared WebP library. #4525
- Fix delta filter deserialization for format ver 19. #4541
- Fix array schema selection when time traveling. #4549
Documentation
- Add a table with the history of the storage format versions. #4487
- Add timestamped_name file to the Format Spec. #4533
API changes
C API
- Add tiledb_group_get_member_by{index|name}v2 (and deprecate tiledb_group_get_member_by{index|name}). #4019
tiledb_group_createis no longer marked as deprecated. #4522
C++ API
- Improve error message in C++ API for bad filter option type. #4503
Build System Changes
- Improve building the Windows binaries for the R API. #4448
- Update curl to version 8.4.0. #4523
- Clean-up unused build system code. #4527
- Cache more information when configuring the CMake project. #4449
- Remove the vcpkg submodule and download it automatically when configuring. #4484
- Use the provided CMake packages to import the compression libraries when vcpkg is enabled. #4500
- Remove bundling our static library dependencies; they are now found from the CMake config file. #4505
- Remove the CMake and bootstrap script options related to abseil and crc32c linkage tests. #4527
- Move documentation generation and source formatting into dedicated CMake modules. #4538
- Fix regression when libraries were sometimes installed in the
lib64directory. #4572
Test only changes
- Remove UnitTestConfig::array_encryption_key_length. #4482
TileDB v2.18.5 Release Notes
Defects removed
- Fix out of order consolidation. #4597
- Vac files should only be removed if paths removal was fully successful. #4889
Build System Changes
- Fix linker errors when building with MSVC. #4759
TileDB v2.18.4 Release Notes
Defects removed
- Fix HTTP requests for AWS assume role not honoring config options. #4616
- Fix HTTP requests for AWS assume role with web identity not honoring config options. #4641
TileDB v2.18.3 Release Notes
New features
- Add setting to disable install_sigpipe_handler on S3. #4573
TileDB v2.18.2 Release Notes
Defects removed
- Fix delta filter deserialization for format ver 19. #4541
Build System Changes
- Remove the
externals/vcpkgsubmodule. Vcpkg is always downloaded by CMake. #4543
TileDB v2.18.1 Release Notes
Build System Changes
- Fix errors when building from a directory that is not a Git repository. #4529
TileDB v2.18.0 Release Notes
Announcements
- TileDB 2.18, targeted for release in November 2023, includes a preview set of aggregate pushdown APIs. The APIs will be finalized in 2.19 with performance improvements.
Disk Format
- Fix the format specification for group members. #4380
- Update fragment format spec for info on tile sizes and tile offsets. #4416
Configuration changes
- Remove vfs.file.max_parallel_ops config option. #3964
Breaking C API changes
- Behavior breaking change:
tiledb_group_remove_membercannot remove named members by URI if the URI is duplicated. #4391
New features
- Support custom headers on s3 requests. #4400
- Add support for Google Cloud Storage on Windows. #4138
- Query aggregates REST support. #4415
- Add random number generator global singleton. #4437
Improvements
- Add an aspect template argument to
class CAPIFunction. #4430 - Fix enumeration value not found error message. #4339
- Allow forward slashes in enumeration names. #4454
- Adding extra in memory offset for var tiles on read path. #4294
- Aggregators: adding mean aggregate. #4292
- Remove parallel file I/O. #3964
- C.41 constructor: S3. #4368
- Changed the logic of the main loop in
Domain::cell_order_cmp_impl<char>. #3847 - Add REST client support for delete_fragments and delete_fragments_list. #3923
- Remove the internal
ValidityVector::init_bytemapmethod. #4071 - Use exceptions for error handling in the Metadata code. #4012
- Move min/max computation to aggregate_with_count. #4394
- Add memory tracking to Enumeration loading. #4395
- Logs for nested exceptions now incorporate all messages. #4393
- Implement read logging modes. #4386
- Move counts computation to aggregate_with_count. #4401
- Fix delete_fragments handlers according to new model. #4414
- Aggregates: change to use size instead of min cell/max cell. #4436
- Allow for empty enumerations. #4423
- Aggregates: combine sum/mean aggregators. #4440
Documentation
- Update docs for set data buffer APIs. #4381
Defects removed
- Fix serialization of empty enumerations. #4472
- Patch curl to fix CVE-2023-38545. #4408
- Update libwebp to version 1.3.2 to fix CVE-2023-5129. #4384
- Fix missing WebP::sharpyuv installation command. #4325
- Fix re-loading enumerations from the REST server. #4335
- Save error on the context before returning error code in vfs_open. #4347
- Filter pipeline: fix coord filter type. #4351
- Fix creation of Enumerations with
std::vector<bool>. #4362 - Revert change to S3 is_object, is_bucket checks. #4370
- Specify whether the HDFS backend is enabled in the string returned by
tiledb_as_built_dump. #4364 - Fix fragment corruption in the GlobalOrderWriter. #4383
- Fix bug in FragmentMetadata::get_footer_size. #4212
- Global order writer: don't try to delete the current fragment if it had failed to be created. #4052
- Fix bug in ordered label reader for unsigned integers. #4404
- Add missing include object.h in group_experimental.h. #4411
- Support Azure Storage SAS tokens that don't start with a question mark. #4418
- Avoid empty Enumeration REST requests. #4369
- Make the
initializer_listoverload ofSubarray::set_subarrayzero-copy. #4062
API changes
C API
- New: Aggregate pushdown C API. #4176
- Implement tiledb_handle_load_array_schema_request. #4399
- Add ArraySchemaEvolution::extend_enumeration. #4445
- Allow null cfg in group consolidate_metadata and vacuum_metadata. #4412
C++ API
- Fix UBSAN error in the Enumeration CPP API. #4357
- Remove default operation type from query condition set membership API (introduced in 2.17). #4390
- Fix CPP set buffer APIs to work with aggregates. #4434
- Adding CPP example for consolidation plan. #4433
- New: Aggregate API for MEAN and NULL_COUNT capi/cppapi wraps. #4443
Build System Changes
- Fix static linking failures and build ExampleExe_static on Windows. #4336
- Run Windows nightly debug build on C:/ drive to avoid out of space errors. #4352
- Manage dependencies with vcpkg by default. #4348
- Find the OpenSSL dependency of the AWS SDK on non-Windows only. #4359
- Use generator expressions when setting compile options for the benchmarks. #4328
- Bump default compiler to GCC 10 and macos images from 11 to 12. #4367
- Fix and optimize the Release CI workflow. #4373
- Stop building gRPC when GCS is enabled. #4435
- Require only ucrt build from Rtools. #4361
- Update the AWS SDK to version 1.11.160. #4214
- Remove warnings from benchmarks. #4396
- Update
clang-formatto version 16. #4397 - Update the Google Cloud Storage SDK to its latest version (2.15.1). #4031
- Update capnproto to version 1.0.1. #4405
- Fix compilation with GCC 13. #4331
- Compilation fix for GCC 9.4 of Ubuntu 20.04. #4355
- Don't error out if DELETE symbol is defined. #4365
Test only changes
- Aggregates pushdown: adding tests for var size buffer overflow. #4315
- Aggregates pushdown: adding incomplete tests. #4301
- Add group backwards compatibility tests. #3996
- Aggregates: Adding tests for computation policies. #4421
- Aggregators: adding benchmark for aggregate_with_count class. #4420
Experimental Changes
- Add support for basic mimo node to TileDB task graph. #3977
- Verify that dependency-only edges using
std::monostatework with nodes and edges. #3939
TileDB v2.17.5 Release Notes
Defects removed
- Fix delta filter deserialization for format ver 19. #4541
TileDB v2.17.4 Release Notes
Defects removed
- Fix serialization of empty enumerations. #4472
- Update libwebp to version 1.3.2 to fix CVE-2023-5129. #4384
TileDB v2.17.3 Release Notes
Improvements
- Allow for empty enumerations #4423
API changes
- Add
ArraySchemaEvolution::extend_enumeration#4445
TileDB v2.17.2 Release Notes
Defects removed
- Fix fragment corruption in the GlobalOrderWriter. #4383
- Prepend a question mark to the Azure Storage SAS token if it does not begin with one. #4426
TileDB v2.17.1 Release Notes
Improvements
- Avoid empty Enumeration REST requests. #4369
Defects removed
- Revert change to S3 is_object, is_bucket checks. #4371
API changes
C++ API
- Add support for
std::vector<bool>in Enumeration CPP API. #4362 - Fix UBSAN error in the Enumeration CPP API. #4357
- This is a change from 2.17.0 in the header-only C++ API.
- Don't error out if DELETE symbol is defined. #4365
Build changes
- Compilation fix for GCC 9.4 of Ubuntu 20.04. #4355
- Fix static linking failures and build ExampleExe_static on Windows. #4336
TileDB v2.17.0 Release Notes
Disk Format
- Storage format version is now 20, bringing changes to support enumerated types. (#4051).
Configuration Changes
- Add Enumeration max size configuration. #4308
New features
- Enumerated data types (aka: "categoricals" in Pandas, "factors" in R). #4051
- Support optimized creation of set membership (
IN,NOT_IN) QueryConditions, replacing create+combine pattern for specifying the target set. #4164 - Add C and C++ APIs to reflect as-built (build-time) configuration options as a JSON string. #4112, #4199
- Filter pipeline support for datatype conversions based on filtered output datatype. #4165
- Add TileDB-REST support for vacuum and consolidation requests. #4229
- TileDB-REST support for dimension labels. #4084
Improvements
- Add TileDB-REST serialization for reinterpret_datatype. #4286
- Update VFS to call ListObjectsV2 from the AWS SDK, providing significant performance improvements for array opening and other listing-heavy operations. #4216
- Wrap KV::Reader::getKey calls into std::string_view. #4186
- Unify ca_file and ca_path configuration parameters. #4087
- Inline and optimize some trivial methods of the internal
Arrayclass. #4226 - Merge overlapping ranges on sparse reads. #4184
- Legacy reader: reading non written region causes segfault. #4253
- Make generic tile decompression single threaded to fix multi-query hang condition. #4256
- Add
tiledb_handle_load_enumerations_request. #4288 - Add TileDB-REST array open v2 serialization support for enumerations. #4307
Defects removed
- Dense reader: fix nullable string values when reading with QueryCondition. #4174
- Fix segmentation fault in delta compressor test. #4143
- Fix VFS
is_empty_bucketin C++ API. #4154 - Initialize a Query at the end of deserialization to fix QueryCondition error against TileDB-REST. #4148
- Sparse unordered w/ dups reader: adding ignored tiles. #4200
- Allow
Subarray::get_est_result_size_nullableon remote arrays. #4202 - Fix version check bug when deserializing attributes. #4189
- Fix container issues in windows builds. #4177
- Unordered writes: fix deserialization for older clients. #4246
- Fix serialization of var-size property for nonempty domains. #4264
- Clear pending changes during group delete to avoid updating a deleted group. #4267
- Update filter checks for accepted datatypes. #4233
- Check if Subarray label ranges are set in
Query::only_dim_label_query. #4285 - Optimize capnp traversal size usage. #4287
- Fix QueryCondition set conditions on attributes with enumerations. #4305
- Backwards compatibility: correctly handle 0 chunk variable-size tiles. #4310
API changes
C API
- Add C API attribute handle. #3982
- Add
result_buffer_elements_nullablefor variable size dimension labels. #4142 - Add new C APIs for dimension label REST support. #4072
- Add
tiledb_as_built_dump, to reflect the build-time configuration options as a JSON string. #4199 - Add
tiledb_query_condition_alloc_set_membershipfor optimized set membership QC creation. #4164 - Add C API handle for domain. #4053
C++ API
- Throw if incorrect type is passed to
set_data_type. #4272 - Add
tiledb::AsBuilt::dumpclass method, to reflect the build-time configuration options as a JSON string. #4199 - Add
QueryCondition::createvectorized signature for set membership QC creation. #4164
Build System Changes
- TileDB core library now requires C++20. Note that the public C++ API still only requires C++17. #4034
- Fix macOS "experimental-features" build; CMake and CI QOL improvements #4297
- Libxml2 needs to be linked after Azure libraries #4281
- Adds macos experimental build to nightly CI. #4247
- Fix static linking from the GitHub Releases package on Windows. #4263
- Fix Azure build failures on non-Windows when vcpkg is disabled. #4258
- Do not install static libraries when
TILEDB_INSTALL_STATIC_DEPSis not enabled. #4244 - Use tiledb:stdx stop_token and jthread; fix experimental/ build on macOS. #4240
- Export Azure::azure-storage-blobs on install when vcpkg is enabled. #4232
- Move Azure DevOps CI jobs to GitHub Actions. #4198
- Bump catch2 to 3.3.2 in vcpkg #4201
- Fix static linking to the on Windows. #4190
- Fix build with Clang 16 #4206
- Remove a workaround for a no longer applicable GCC/linker script bug. #4067
- Build curl with ZStandard support on vcpkg when serialization is enabled. #4166
- Use clipp from vcpkg if enabled. #4134
- Support acquiring libmagic from vcpkg. #4119
- Simplify linking to Win32 libraries. #4121
- curl version bump to resolve MyTile superbuild failure #4170
- Improve support for multi-config CMake generators. #4147
- Support new Azure SDK in superbuild #4153
- Update libwebp to version 1.3.1. #4211
- Fix Ninja builds on Windows #4173
- Fix azure static library linking order for superbuild #4171
- Fix vcpkg dependencies building only in Release mode. #4159
- Fix compile error on macos 13.4.1 with c++20 enabled. #4222
Test Changes
- Add tests for TILEDB_NOT. #4169
- Fix regression test exit status; fix unhandled throw (expected). #4311
- Fix
as_builtdefinitions in the C API compilation unit, and add validation test. #4289 - Smoke test: only recreate array when needed. #4262
- Array schema: C.41 changes, test support. #4004
- Conditionally disable WhiteboxAllocator tests to fix GCC-13 build. #4291
- Sorted reads tests: faster tests. #4278
TileDB v2.16.3 Release Notes
Improvements
- Make generic tile decompression single threaded. #4256
Defects removed
- Legacy reader: reading non written region causes segfault. #4253
- Unordered writes: fix deserialization for older clients. #4246
- Clear pending changes during group delete. #4267
- Fix serialization of var-size property for nonempty domains. #4264
Build system changes
- Fix build failures when vcpkg is not enabled. #4259
- Fix static linking from the GitHub Releases package on Windows. #4263
TileDB v2.16.2 Release Notes
Improvements
- Add support for serialization of vacuum and consolidation requests. (#3902) #4229
Build changes
- Export Azure::azure-storage-blobs on install when vcpkg is enabled. #4232
TileDB v2.16.1 Release Notes
Defects removed
- Dense reader: fix nullable string values when reading with qc. #4174
- Allow Subarray::get_est_result_size_nullable on remote arrays. #4202
- Sparse unordered w/ dups reader: adding ignored tiles. #4200
Build system changes
- Fix azure static library linking order for superbuild. #4171
- Build curl with ZStandard support on vcpkg when serialization is enabled. #4166
- Fix static linking to the release binaries on Windows. #4208
TileDB v2.16.0 Release Notes
Disk Format
Bump to version 19 (.vac vacuum files now use relative filenames). #4024
API changes
C API
- C API dimension handle. #3947
- Query Plan API. #3921
- Error out no-op set_config calls, FragmentInfo. #3885
- Error out no-op set_config calls, Array. #3892
- Error out no-op set_config calls, Group. #3878
- Error out no-op set_config calls, Query. #3884
C++ API
- Add a
Groupconstructor that accepts a config in the C++ API. #4010 - Add
get_optionmethod to theFilterclass that returns the option value. #4139
New features
- Support in place update of group members. #3928
- Query Condition NOT support. #3844
- Add new Delta Encoder to filters. #3969
- Support new
STSProfileWithWebIdentityCredentialsProviderS3 credential provider for use of WebIdentity S3 credentials. #4137 - Enable query condition on dimensions for dense arrays. #3887
Configuration changes
- Add
vfs.azure.max_retries,vfs.azure.retry_delay_msandvfs.azure.max_retry_delay_msoptions to control the retry policy when connecting to Azure. #4058 - Remove the
vfs.azure.use_httpsoption; connecting to Azure with HTTP will require specifying the scheme invfs.azure.blob_endpointinstead. #4058 - Removed
sm.mem.reader.sparse_global_order.ratio_query_conditionconfig option. #3948 - "vfs.s3.no_sign_request" to allow unsigned s3 API calls, useful for anonymous s3 bucket access. #3953
Improvement
- Filter pipeline: make chunk range path default and remove other. #3857
- Prevent combining query conditions with dimension label queries. #3901
- Add attribute data order to attribute capnp. #3915
- Dense reader: adjust memory configuration parameters. #3918
- Move array_open_for_writes from StorageManager to Array. #3898
- Refactor the POSIX VFS and improve error messages. #3849
- Update ArraySchema Cap'n Proto serialization to include dimension labels. #3924
- Refactor readers to use
std::optional<QueryCondition>. #3907 - Move schema loading functions from StorageManager to ArrayDirectory. #3906
- Migrate BufferList to Handle-based API. #3911
- Avoid storing a separate vector of tiles when loading groups. #3975
- Sparse unordered w/ dups: overflow fix shouldn't include empty tile. #3985
- Sparse unordered w/ dups: smaller units of work. #3948
- Dense reader: read next batch of tiles as other get processed. #3965
- Sparse global order reader: defer tile deletion until end of merge. #4014
- Silence warnings about unqualified calls to std::move on Apple Clang. #4023
- Enable serialization for partial attribute writes. #4021
- Fix vac files to include relative file names. #4024
- Update Subarray Cap'n Proto serialization to include label ranges. #3961
- Fix uses of
noexceptin the C API code. #4040 - Sparse readers: fixing null count on incomplete queries. #4037
- Sparse readers: adding memory budget class. #4042
- Use the new Azure SDK for C++. #3910
- [superbuild] Set Curl CA path on Darwin. #4059
- Enable support for estimating result size on nullable, remote arrays. #4079
- Fix intermittent failure in Group Metadata, delete. #4097
- Add Subarray::add_range to core stats. #4045
- Query.cc: Fix function ordering. #4129
- Improvements to the Azure VFS. #4058
- Array directory: parallelize large URI vector processing. #4133
- Remove all TileDB artifacts when performing Array and Group deletes. #4081
Defects removed
- Sparse global order reader: tile size error includes hilbert buffer. #3956
- Sparse unordered w/ dups: fix error on double var size overflow. #3963
- Dense reader: fix copies for schema evolution. #3970
- Sparse global order reader: fix read progress update for duplicates. #3937
- Fix check during remote unordered write finalization. #3903
- Avoid narrowing conversion warning by downcasting computed values. #3931
- Fix support for empty strings for Dictionary and RLE encodings. #3938
- Check for failed allocation in
TileBaseconstructor and throw if so. #3955 - Fix logger initialization #3962
- Sparse global order reader: deletes and overflow can give wrong results. #3983
- Fix buffer size check in sparse unordered with duplicates reader during partial reads. #4027
- Initialize MemFS in the VFS. #3438
- Fix array/group metadata deletion when they are inserted in the same operation. #4022
- Fix Query Conditions for Boolean Attributes. #4046
- Allow empty AWS credentials for reading public S3 data. #4064
- Serialize coalesce ranges for Subarray. #4043
- Use
std::map::insert_or_assignto replace values in maps. #4054 - Adds serialization for webp filter options. #4085
- Subarray serialize coalesce ranges as true by default. #4090
- Don't throw an exception from the Group destructor. #4103
- Fix type
andto be&&in experimental group C++ API. #4106 - Fix dense reader error when query conditions reference var sized fields. #4108
- Remove
TILEDB_EXPORTfrom private C API functions. #4120 - Filter out empty s3 subfolders #4102
- Fix REST Client buffer management #4135
- Adds checks to ensure subarray is within domain bounds during initialization of DenseReader. #4088
- Fix C++
Filter::set_optionandFilter::get_optionmethods to accepttiledb_datatype_tas a valid option type. #4139
Build system changes
- Add support for building dependencies with vcpkg (#3920, #3986, #3960, #3950, #4015, #4128, #4093, #4055)
- Quiet catch2 super build by only printing on failure. #3926
- Add .rc file containing version info to windows build. #3897
- Use sccache in CI. #4016
- Fix building aws-sdk-cpp on Ubuntu 22.04. #4092
Test changes
- Use storage-testbench as the GCS emulator. #4132
- Add unit tests for tiledb/common/platform.h #3936
- Adjust a config buffer parameter for two tests for success in both 32bit and 64bit environments #3954
- Add TEST_CASE blocks that check for possible regression in sparse global order reader #3933
- Use temporary directories from the OS in tests. #3935
- Adds workflow to trigger REST CI. #4123
C++ library changes
- Introduce
synchronized_optional, a multiprocessing-compatible version ofstd::optional#3457 - Task graph filtering experimental example #3894
TileDB v2.15.4 Release Notes
Defects removed
- Fix dense reader error when query conditions reference var sized fields. #4108
- Sparse readers: fixing null count on incomplete queries. #4037
- Sparse unordered w/ dups: Fix incomplete queries w/ overlapping ranges. #4027
TileDB v2.15.3 Release Notes
Improvements
- Enable support for estimating result size on nullable, remote arrays #4079
Defects removed
TileDB v2.15.2 Release Notes
Defects removed
- Allow empty AWS credentials for anonymous access. #4064
- Fix Query Conditions for Boolean Attributes. #4046
Build
TileDB v2.15.1 Release Notes
New features
- Introduce "vfs.s3.no_sign_request" to allow unsigned s3 API calls, useful for anonymous s3 bucket access. #3953
Defects removed
- Fix support for empty strings for Dictionary and RLE encodings #3938
- Sparse global order reader: fix read progress update for duplicates. #3937
- Sparse unordered w/ dups: fix error on double var size overflow. #3963
- Dense reader: fix copies for schema evolution. #3970
- Sparse unordered w/ dups: overflow fix shouldn't include empty tile. #3985
API changes
C++ API
- Add a
Groupconstructor that accepts a Config in the C++ API. #4011
TileDB v2.15.0 Release Notes
Disk Format
- Add FloatScaleFilter to format spec (documentation only; filter released in 2.11.0) #3494
Breaking C API changes
- Remove deprecated
Querymethods. #3841 - Remove deprecated API functions about buffers #3733
- Remove deprecated C API
tiledb_fragment_info_load_with_key#3740 - Remove extra experimental set buffer methods #3761
- Remove C API functions
tiledb_array_open_atand variations. #3755 - Remove C API functions
tiledb_array_consolidate_metadataandtiledb_array_consolidate_metadata_with_key#3742 - Remove deprecated C API function
tiledb_coords. #3743 - Remove bitsort filter (feature-flagged filter). #3852
Breaking behavior
- An error is now raised when setting a subarray on a query that is already initialized. #3668
- An error is now raised when setting a subarray on a write to a sparse array. #3668
New features
- Partial attribute writes into a single fragment. #3714
- Query condition support for TIME types #3784
- Enable dimension labels for the C API (provisional) #3824
- Add dimension label C++ API (provisional) #3839
Improvements
- Add creation of ArrayDirectory on open to stats #3769
- Return underlying errors in Win::remove_dir #3866
- Removes tile-aligned restriction for remote global order writes by caching tile overflow data from submissions. #3762
- Implement S3 buffering support for remote global order writes #3609
- Add support for dimension labels on an encrypted array #3774
- Refactor relevant fragments into a separate class. #3738
- Implement duration instrument for measuring times in stats. #3746
- Move attribute order check to writer base #3748
- Fragment consolidator: use average cell size for buffer allocation. #3756
- Show URL in logger trace before results are returned #3745
- Refactor tiledb_set_subarray call in test/support/src/helpers.cc #3776
- Move array open methods from StorageManager to Array #3790
- Split Tile class into different classes for read and write. #3796
- Update ArrayDirectory to use ContextResources #3800
- Use
EncryptionType::NO_ENCRYPTIONinstead of casting the C enum. #3545 - Tile metadata generator: fix buffer overflow on string comparison. #3821
- Ordered writer: process next tile batch while waiting on write. #3797
- Query v3: Reduce array open operations on Cloud #3626
- Read tiles: get rid of extra VFS allocation. #3848
- Clean-up
QueryBufferand move it away from statuses. #3840 - Storage manager: remove passthrough read/write functions. #3853
- Fix partial attribute write test. #3862
- Query v2: Add array directory and fragment meta ser/deser behind config flag #3845
- Ordered dimension label reader: handle empty array. #3869
- Fix comments in nullable attributes example. #3870
- RLE and dictionary filter only enabled for UTF8 since format version 17. #3868
- Move more resources into ContextResources #3807
- Better errors for failed dimension label queries. #3872
- Dense reader: process smaller units of work. #3856
- Use different config variable for enabling open v2 and query v3 #3879
- Fragment consolidation: using correct buffer weights. #3877
- Show expected and actual version numbers in the error message #3855
- Fix shallow test-only bug in unit_rtree.cc #3830
- Fix stack buffer overflow bug in unit-curl.cc #3832
- Fix stack use after free bug in unit_thread_pool #3831
Defects removed
- Fail if fragment info objects are accessed before loading them. #3846
- Let ConsolidationPlan::dump() produce valid JSON #3751
- Fix exceptions thrown during array schema validation for WebP filter. #3752
- Modify GlobalStats::reset() to support compensation for registered stats being effectively leaked. #3723
- Avoid pwrite bug on macOS Ventura 13.0 on Apple M1 #3799
- Fix ASAN-detected UAF in sparse global order reader #3822
- Improve WebP validation, fixes SC-24766, SC-24759 #3819
- Deregister a remote array from the Consistency multimap before reopening. #3859
- Fix buffer size error in deserializing query #3851
- Fix segfault in unit_consistency #3880
- Avoid segfault in unit_array #3883
- VFS CAPIHandle class #3523
API changes
C API
- Deprecate tiledb_query_submit_async #3802
- Deprecate
tiledb_fragment_info_get_name. #3791 - Deprecate
tiledb_query_submit_async. #3802 - Add
tiledb_array_delete_fragments_listAPI #3798 - Add
tiledb_string_handle_tso that C API functions can output strings with independent lifespans. #3792 - Add
tiledb_dimension_label_handle_tandtiledb_dimension_label_thandles to C-API #3820 - Add
tiledb_subarray_has_label_rangesandtiledb_subarray_get_label_name. #3858 - Add
tiledb_fragment_info_get_fragment_name_v2. #3842 - Add function to access the dimension label attribute name. #3867
- Change query set buffer methods to set label buffers in experimental builds #3761
C++ API
- Move deprecated constructors into new array_deprecated.h file, manipulating them to use the new TemporalPolicy and EncryptionAlgorithm classes. #3854
- Add function to access the dimension label attribute name. #3867
- Add experimental
set_data_bufferAPI that handles dimension labels #3882
Build system changes
Experimental features
- Set of three exploratory but fully consistent schedulers for TileDB task graph library. #3683
- Version 0.1 of specification task graph. #3754
Full Changelog:
TileDB v2.14.2 Release Notes
Improvements
- RLE and dictionary filter only enabled for UTF8 since format version 17. #3868
- Fragment consolidation: using correct buffer weights. #3877
- Sparse global order reader: fix read progress update for duplicates. #3937
- Sparse unordered w/ dups: fix error on double var size overflow. #3963
Bug fixes
- Deregister a remote array from the Consistency multimap before reopening. #3859
- Fix buffer size error in deserializing query. #3851
- Fix support for empty strings for Dictionary and RLE encodings. #3938
TileDB v2.14.1 Release Notes
Defects removed
- Tile metadata generator: fix buffer overflow on string comparison. #3821
TileDB v2.14.0 Release Notes
Announcements
- TileDB 2.17, targeted for release in April 2023, will require C++20 support for full library compilation. C++17 compatibility will be maintained in the public C++ API for several releases beyond 2.17.
Disk Format
- Format version updated to 17. #3611
Breaking API changes
- In TileDB 2.15, we will begin removing C and C++ API functions deprecated through TileDB 2.12. See list of deprecated functions.
Breaking behavior
- For global order reads, an error is now raised if multiple ranges are set when the query is submitted. Previously, an error was raised immediately upon adding another range during subarray creation. #3664
- For dense writes, an error is now raised if multiple ranges are set when the query is submitted. Previously, an error was raised immediately upon adding another range during subarray creation. #3664
- For sparse writes, an error is now raised if the subarray is not default when the query is submitted. Previously, an error was raised when adding ranges to a subarray for a sparse write. #3664
- TileDB will not longer override the
AWS_DEFAULT_REGIONorAWS_REGIONenvironment variables, if set in the process environment. Previously, the library would unconditionally default to setting the region to "us-east-1" unless thevfs.s3.regionconfig variable was specified; now the library will check for the mentioned environment variables, and avoid setting a default if present. Thevfs.s3.regionconfig variable will still take precedence if provided #3788
New features
- Add UTF-8 attribute binary comparison support for QueryConditions. #3766
- Add Boolean Support For Sparse Query Conditions. #3651
- Consolidation plan API. #3647
Improvements
Defects Removed
- Sparse global order reader: fix tile cleanup when ending an iteration. #3674
- Dense array: Tile var size metadata not loaded on read. #3645
- Fix parsing of multiple enable= arguments to bootstrap script. #3650
- Fix bad write by label error. #3664
- Fix build issue with consolidation plan. #3704
- Fix macOS versions before 10.15 do not support
<filesystem>. #3729 - Segfault reading array with query condition after schema evolution. #3732
- Query condition: fix when attribute condition is not in user buffers. #3713
- Fragment consolidator: stop consolidation if no progress can be made. #3671
- Throw error when memory budget leads to splitting to unary range. #3715
- Do not resubmit http requests for curl errors for REST requests #3712
Internal
- Validation for scale and offsets input to the float scale filter. #3726
- Adding attribute ordering checks to ordered dimension label reader. #3643
- Sparse globalorder reader: prevent unused tiles from being loaded again. #3710
- Array directory serialization. #3543
- Global order writes serialization tests: fixing incorrect section usage. #3670
- Update dimension labels to use an array instead of group. #3667
- Consolidation plan: implementation for creating a plan using MBRs. #3696
- Sparse unordered w/dups reader: allow partial tile offsets loading. #3716
- Implement static thread pool scheduler using "throw-catch" state transitions, as well as segmented nodes. #3638
- Remove
open_arrays_from StorageManager. #3649 - Replaces domain_str with range_str. #3640
- Replace use of Buffer with Serializer/Deserializer FragmentMetadata footer methods. #3551
- Remove non owning tile constructor. #3661
- Add CMake modules for compactly specifying object libraries. #3548
- CMake environment
unit_test. #3703 - Add Attribute data order constructor and checks. #3662
- Adding size computation for tile offsets to sparse readers. #3669
- Extract CA certificate discovery from GlobalState. #3717
- Extract libcurl initialization from GlobalState. #3718
- Remove StorageManager::array_close_for_$type methods. #3658
- Fix build on upcoming gcc-13. #3722
- Adds nightly C++20 builds alongside C++17 nightlies. #3688
- Adding average cell size API to array. #3700
API Changes
C API
- Deprecate
tiledb_array_delete_arrayaddtiledb_array_delete. #3744 - Added
tiledb_group_delete_groupAPI. #3560 - Document
tiledb_mime_type_t. #3625 - Fix missing argument in set dimension label tile C-API. #3739
Full Changelog:
TileDB v2.13.2 Release Notes
Bug fixes
- Ensures coordinate tiles are initialized for multipart remote queries #3795
TileDB v2.13.1 Release Notes
Improvements
- Sparse globalorder reader: prevent unused tiles from being loaded again. #3710
- Do not resubmit http requests for curl errors for REST requests #3712
- Enables WebP by default #3724
Bug fixes
- Query condition: fix when attribute condition is not in user buffers. #3713
TileDB v2.13.0 Release Notes
Announcements
-
We have created a deprecation and removal policy for the C and C++ API.. Deprecated functions will be in place for at least two releases, with a removal notification one version prior to the removal.
-
All functions deprecated through TileDB 2.12 will be removed in TileDB 2.15. See list of deprecated functions here.
Disk Format
Documentation
- Document dictionary encoding format #3566
- Improve documentation of consolidated commits files and ignore files #3606
New features
- Bitsort filter, to write attribute and associated coordinates in the attribute's data order, and re-sort into global order on read #3483, #3570
- Support for lossless and lossy RGB(A) and BGR(A) image compression using WebP #3549
API Changes
C API
- Added
tiledb_status_code#3580 - Added
tiledb_group_get_is_relative_uri_by_name#3550 - Added
tiledb_array_delete_arrayAPI #3539
Documentation
- Document missing fragment info C APIs. #3577
- Document that the callback of
tiledb_query_submit_asyncis executed in an internal thread pool thread. #3558
Improvements
Defects removed
- Fix for dense arrays: var size metadata not loaded on read [#3645]https://github.com/TileDB-Inc/TileDB/pull/3645)
- Dense consolidation: set correct non-empty domain #3635
- Sparse global order reader: fixing incomplete reason for rest queries #3620
- Fixes dim label reader range order to always take valid ranges #3561
- Global order writes should send relative uris over serialization #3557
- Fix unit-cppapi-update-queries test failure when throwing UpdateValue exception. #3578
- Fix duplicate logger instantiations in global state #3591
- Add missing query_type in array_open capnp #3616
- Fix use-after-free on a capnp::FlatArrayMessageReader #3631
- Bitsort filter: preallocate filtered buffer for dim tiles. #3632
- Add Boolean Support For Sparse Query Conditions #3651
Internal
- Read tiles: refactor tile creation code. #3492
- Use snprintf to avoid deprecation warnings as errors #3608
- Removes non-C.41 range setting (part 1) #3598
- Add [[nodiscard]] attribute to Status class and fix failures #3559
- Remove WhiteboxTile. #3612
- Global order writer: allow splitting fragments. #3605
- Move unit uuid to unit tests. #3614
- Consolidation: add fragment max size. #3607
- Move unit-bytevecvalue, unit-TileDomain and unit-domain to unit test. #3615
- Adding rtree object library. #3613
- Global order writes serialization: no tests when serialization disabled. #3603
- Fragment info serialization support #3530
- Array Metadata related refactoring, use Serializer/Deserializer instead of Buffer #3544
- Class VFS C.41 compliance, Part 1 #3477
- Updates: adding strategy. #3513
- Remove stale declarations from query #3565
- Improvements in C API implementation #3524
- Sparse readers: adding relevant cells stats. #3593
- Fix find_heap_api_violations.py #3634
Build system changes
Full Changelog:
TileDB v2.12.3 Release Notes
Improvements
- Dense consolidation: set correct non-empty domain. #3635
Bug fixes
- Dense array: Tile var size metadata not loaded on read. #3645
- Sparse global order reader: fix tile cleanup when ending an iteration. #3674
TileDB v2.12.2 Release Notes
Bug fixes
- Fix use-after-free on a capnp::FlatArrayMessageReader. #3631
TileDB v2.12.1 Release Notes
Improvements
Defects Removed
- Sparse global order reader: fixing incomplete reason for rest queries. #3620
- Add missing query_type in array_open capnp. #3616
TileDB v2.12.0 Release Notes
Disk Format
- Added Delete commit file to format specification.
- Added XOR filter type #3383.
New features
-
Support for DELETE query type, providing the capability to non-destructively (until consolidation with purge) delete data from array from query timestamp forward
DELETE feature pull-requests
- Deletes: legacy reader process deletes. #3387
- Deletes: implement delete strategy. #3337
- Deletes: refactored readers process deletes. #3374
- Deletes: adding support for commits consolidation. #3378
- Dense reader: adding num tiles to stats. #3434
- Opt-in core-to-REST-server instrumentation #3432
- Deletes: implement consolidation. #3402
- Deletes: adding examples. #3437
- Deletes: implement serialization. #3450
- Deletes consolidation: switch from marker hashes to condition indexes. #3451
- Deletes: adding purge option for consolidation. #3458
- Deletes: disallow in middle of consolidated fragment with no timestamps. #3470
-
Implement delete_fragments API for removing all fragments within a specified time range #3400
-
Implement XOR Filter #3383
-
Fragment info serialization support for
tiledb://URIs #3530 -
Add support for global order writes to
tiledb://URIs #3393
API Changes
Config parameters
- Add new config
rest.curl.buffersizefor settingCURLOPT_BUFFERSIZE. #3440
C API
- Add
tiledb_group_get_is_relative_uri_by_name#3550 - Adding experimental API for getting relevant fragments,
tiledb_query_get_relevant_fragment_num. #3413 - Add
tiledb_query_get_relevant_fragment_numfor experimental API to get relevant fragments. #3413 - Add include policy for non-TileDB headers in the C API #3414
Improvements
Performance
- Sparse global order reader: merge algorithm optimization. #3331
- Azure: parallelize remove_dir. #3357
- Sparse refactored readers, mark empty fragments as fully loaded early. #3394
- Reduce the number of requests in dir_size #3382
- VFS: Adding option to disable batching for
read_tiles. #3421 - Avoid duplicate string_view creation in
compute_results_count_sparse_string_range#3491 - Memory tracker: using the correct type for setting default budget. #3509
- Sparse global order reader: compute hilbert vals before filtering tiles. #3497
- Avoid string copy in Dictionary Encoding decompression. #3490
Defects removed
- Add check that Dict/RLE for strings is the first filter in the pipeline; allow use w/ other filters #3510
- Remove stale declarations from query #3565
- Fix SC-19287: segfault due to deref nonexistent filestore key #3359
- Demonstrating mingw handle leakage (tiledb_unit extract) #3362
- Fix and regression test for SC-19240 #3360
- Don't try to consolidate empty array; fixes SC-19516 #3389
- Fixes check for experimental schema features to be current version #3404
- Prevent possible compiler dependent errors serializing groups #3399
- use stoul() to correctly parse (32bit unsigned values) experimental version numbers cross-platform #3410
- Fix deserialize to set array_schema_all_ into array object #3363
- #3430 #3431
- Removes unneeded fabs causing warning on clang #3484
- Dictionary encoding should handle zero length strings #3493
- Fix empty metadata after array open/query submit #3495
- Handle filter_from_capnp FilterType::NONE case #3516
- Sparse global order reader: incomplete reads when hitting memory limits. #3518
- Fixes silent failure for mismatched layout and bad layout/array combos on query #3521
- Correct defect in source of keying material #3529
- Rework delete_fragments API #3505
- Fix segfault after schema evolution when reading using
TILEDB_UNORDERED#3528 - Fix SC-21741, array evolve via REST #3532
- Don't fetch Array data in Controller until the Array is fully open #3538
- Do not allow creation of sparse array with zero capacity. #3546
- Tile metadata: fixing for ordered writes. #3527
Internal
- Array consistency controller #3130
- Experimental build format versioning #3364
- Implementation of
DataBlock,DataBlockallocator,joinview, and updates toSourceandSink. #3366 - Implemented basic platform library #3420
- Adds Edge and simple Node classes to the TileDB task graph library. #3453
- Adds attribute ranges to Subarray for internal usage #3520
- Add list of point ranges to Subarray #3502
- Add support for new array open REST call #3339
- Added
Config::must_findmarker for use with newConfig::getsignature. ThrowsStatus_ConfigErrorif value cannot be found. #3482
Build system changes
- Add abseil/absl to build via ExternalProject_Add #3454
- Add Crc32c to tiledb build via ExternalProject_Add #3455
- Enable superbuild libcurl to support zstd #3469
- Adjust example dockerfile so layers can be cached better #3488
Full Changelog:
TileDB v2.11.3 Release Notes
Improvements
- Backport changes from #3326 to add experimental docs to stable #3526
Defects removed
- Memory tracker: using the correct type for setting default budget. #3509
- Sparse global order reader: incomplete reads when hitting memory limits. #3518
- Fix segfault after schema evolution when reading using
TILEDB_UNORDERED#3528 - Sparse GO reader: issue when no tile progress because user buffers full. #3531
TileDB v2.11.2 Release Notes
Improvements
Build
- Adjust example dockerfile so layers can be cached better #3488
Defects removed
- Dictionary encoding should handle zero length strings #3493
- Fix empty metadata after array open/query submit #3495
- Sparse global order reader: compute hilbert vals before filtering tiles. #3497
TileDB v2.11.1 Release Notes
Improvements
Performance
- Add support for new array open REST call #3339
- Fix reader serialization for old clients. #3446
- Sparse global order reader: merge algorithm optimization. #3331
Internal
- Dense reader: adding num tiles to stats. #3434
- Opt-in core-to-REST-server instrumentation #3432
- Serialization: improvements around query serialization/deserialization. #3379
Defects removed
TileDB v2.11.0 Release Notes
Disk Format
- Bump format version and remove config option for consolidation with timestamps #3267
Breaking C API changes
tiledb_filter_allocno longer returnsTILEDB_OKwhen passed a nullptr as the third argument. #3222
Breaking behavior
- Enforce version upper bound for reads, #3248. TileDB will no longer attempt to read an array written with a newer library version. This has never been officially supported, and in practice it usually leads to confusing errors due to format changes. Backward read-compatibility is unaffected, and is tested for each release.
Potential change
- If you have a use-case with tiles larger than 64 MB (in-memory), please get in touch. In order to facilitate improved memory usage and i/o processing performance, we are considering a default upper-bound on tile size in a future version.
New features
- Floating point scaling filter
(#3243,
#3083)
- API Note: input parameters and compatibility with input data are currently unvalidated. This filter requires care in the selection of scale and offset factors compatible with the input data range.
- Support for overlapping ranges in QueryCondition. #3264
- Enable query condition on dimensions for sparse arrays. #3302
Improvements
Performance
- AWS/GCS: parallelize remove_dir. #3338
- Optimize compute_results_count_sparse_string. #3263
- Use sparse global ordered reader for unordered queries with no dups. #3207
- compute_results_count_sparse_string: using cached ranges properly. #3314
- GCS/AWS: remove unnecessary classA operations. #3323
- Reduce the number of requests in dir_size #3382
Internal
- Add DataBlocks, port finite state machine, and other DAG infrastructure #3328
- Storage manager: exposing methods to load/store generic tile. #3325
- Replace unnecessary uses of
std::unique_lockandstd::scope_lockwithstd::lock_guard. #3340 - Deletes: implement negate for query condition. #3299
- Deletes: adding configuration parameter for purging deleted cells. #3334
Defects removed
- Sparse refactored readers, mark empty fragments as fully loaded early. #3394
- Fix printing of TILEDB_BOOL attributes in
Attribute::Dump. #3251 - Store compression filter's version as uint32. #3341
- Sparse global order reader: consider qc results after deduplication. #3350
- Serialization: using same functions to choose strategy as in query. #3352
- Fix error reporting in tiledb_subarray_alloc. #3220
- Fix printing of TILEDB_BLOB attributes in
Attribute::Dump. #3250 - Add missing filters to switch case for Filter serialization. #3256
- Fix timestamp_now_ms() on 32-bit Windows. #3292
- Avoid incorrect use of deflateEnd on init errors. #3007
- Datatype for domain must be serialized for backwards client compatibility. #3343
- Fix issue with sparse unordered without duplicates query deserialization to use Indexed Reader. #3347
- Bug Fix: Wrong results when using OR condition with nullable attributes. #3308
- Fix SC-19287: segfault due to deref nonexistent filestore key. #3359
API additions
C API
- New (experimental):
tiledb_fragment_info_get_total_cell_num#3234 - New (experimental):
tiledb_query_get_relevant_fragment_num#3413 - Remove incorrect noexcept annotations from C API implementations in filestore API. #3273
Test only changes
- Adding tests to count VFS calls on array open. #3358
- Print seed in unit_thread_pool on failure. #3355
Build system changes
- Produce a TileDBConfigVersion.cmake file. #3240
- Add nlohmann/json.hpp to superbuild. #3279
- Update pkg-config private requirements on Windows only. #3330
Full Changelog:
TileDB v2.10.4 Release Notes
Improvements
- Adding experimental API for getting relevant fragments. #3413
API additions
C API
- Add
tiledb_query_get_relevant_fragment_numfor experimental API to get relevant fragments. #3413
TileDB v2.10.3 Release Notes
Improvements
- Sparse refactored readers, mark empty fragments as fully loaded early. #3394
Bug fixes
- Fix SC-19287: segfault due to deref nonexistent filestore key #3359
- Bug Fix: Wrong results when using OR condition with nullable attributes #3308
TileDB v2.10.2 Release Notes
Bug fixes
- Close magic resources #3319
- Correct simple typo in assignment #3335
- Datatype for domain must be serialized for backwards client compatibility #3343
- Sparse global order reader: disable reader for reads with qc. #3342
- Fix issue with sparse unordered without duplicates query deserialization to use Indexed Reader #3347
TileDB v2.10.1 Release Notes
Bug fixes
- compute_results_count_sparse_string: using cached ranges properly. #3314
TileDB v2.10.0 Release Notes
Full Changelog: https://github.com/TileDB-Inc/TileDB/compare/2.9.0...2.10.0
Disk Format
- Consolidation with timestamps: add includes timestamps to fragment footer. #3138
New features
- OR clause support in Query Conditions (#3041 #3083 #3112 #3264)
- New examples for QueryCondition usage with the C++ API (#3225) and C API (#3242)
- TILEDB_BOOL Datatype #3164
- Support for group metadata consolidation and vacuuming #3175
Breaking behavior
- Remove timestamp-range vacuuming (experimental) #3214
Improvements
- Sparse global order reader: refactor merge algorithm. #3173
- Dense reader: add better stats for attribute copy. #3199
- Dense reader: adding ability to fully disable tile cache. #3227
- Optimize compute_results_count_sparse_string. #3263
Deprecations
- Deprecate
sm.num_tbb_threadsconfig option #3177
Bug fixes
- Dense reader: fixing query conditions with overlapping domains. #3244
- Consolidation w timestamps: cell slab length computations fix. #3230
- Unordered writer: fixing segfault for empty writes. #3161
- Sparse global order reader: Check the right incomplete reason is returned in case of too small user buffer #3170
- Global writes: check global order on write continuation. #3109
- Fixing Dimension::splitting_value
to prevent overflows. #3116 - Parse minor and patch version with more than one digit #3098
- Sparse unordered w/ dups reader: fix incomplete reason for cloud reads. #3104
- Rearrange context member initialization so logger is initialized prior to getting thread counts (which may log) #3128
- adjust assert for var Range usage in legacy global order reader #3122
- Fix SC-17415: segfault due to underflow in for loop #3143
- Fix fragment_consolidation.cc example #3145
- Change test_assert path used to locate try_assert #3158
- example writing_sparse_global_<c,cpp>, change illegal write to be legal #3159
- avoid unit_range warning as error build failures #3171
- change to avoid warning causing build error with msvc #3162
- Sparse unordered w/ dups reader: fixing overflow on int value. #3181
- Sparse index readers: fixing queries with overlapping ranges. #3208
- Fix bad_optional_access exceptions when running consolidation with timestamps tests #3213
- Fix SC-18250: segfault due to empty default-constructed FilterPipeline #3233
- Fixed regression test for SC12024, Incorrect selected type in Dimension::oob #3219
- Fixed bug in documentation for cpp_api query condition examples. #3239
- Fix File API failure when importing into TileDB Cloud array #3246
- Fix undefined behavior in filestore whilst detecting compression #3291
- Fix printing of TILEDB_BLOB attributes in
Attribute::Dump#3250 - Add missing filters to switch case for Filter serialization #3256
- Fix a typo in the byteshuffle constructor for capnp serialization #3284
- Remove incorrect noexcept annotations from C API implementations in filestore API #3273
- Update ensure_datatype_is_valid to fix deserialization issues #3303
API Changes
C++ API
- Apply TILEDB_NO_API_DEPRECATION_WARNINGS to C++ API #3236
Build System
- Add tiledb_regression test target #3143
- Produce a TileDBConfigVersion.cmake file #3240
- Integrate build of webp into tiledb superbuild (note: build-only) #3113
New Contributors
- @-OgreTransporter made their first contribution in https://github.com/TileDB-Inc/TileDB/pull/3118
- @-Biswa96 made their first contribution in https://github.com/TileDB-Inc/TileDB/pull/3124
TileDB v2.9.5 Release Notes
Bug fixes
- Fix a typo in the byteshuffle constructor for capnp serialization #3284
TileDB v2.9.4 Release Notes
Bug fixes
- Fix File API failure when importing into TileDB Cloud array #3246
- Fix printing of TILEDB_BLOB attributes in
Attribute::Dump#3250 - Add missing filters to switch case for Filter serialization #3256
- Fix filterpipeline segfault on release-2.9 #3261
TileDB v2.9.3 Release Notes
Improvements
- Make filestore api get configurable buffer sizes #3223
- Special case tiledb cloud uris to use row_major writes 3232]([https://github.com/TileDB-Inc/TileDB/pull/3232)
C++ API
- Apply TILEDB_NO_API_DEPRECATION_WARNINGS to C++ API #3236
TileDB v2.9.2 Release Notes
Bug fixes
- Update Zlib Download URL #3200
TileDB v2.9.1 Release Notes
Bug fixes
- [Backport release-2.9] Sparse global order reader: refactor merge algorithm. (#3173) by @KiterLuc in https://github.com/TileDB-Inc/TileDB/pull/3182
- [Backport release-2.9] Sparse unordered w/ dups reader: fixing overflow on int value. by @github-actions in https://github.com/TileDB-Inc/TileDB/pull/3184
- [Backport release-2.9] Sparse global order reader: Check correct incomplete reason in case of too small user buffer by @github-actions in https://github.com/TileDB-Inc/TileDB/pull/3186
- [Backport release-2.9] relocate magic_mgc_gzipped.bin for build by @github-actions in https://github.com/TileDB-Inc/TileDB/pull/3185
TileDB v2.9.0 Release Notes
Disk Format
- Update on-disk format because of the new available compressor for Dictionary-encoding of strings #3042
New features
- Add virtual filesystem ls_with_sizes function #2971
- Add new CMake build option for
TILEDB_EXPERIMENTAL_FEATURESto compile time protect experimental features. #2748 - Forwardport Group API #3058
- Support Dictionary-encoding filter for string dimensions and attributes #3077
- Use legacy sparse global order reader for 2.9 #3096
- Add libmagic to build process. #3088
- New file storage APIs (tiledb_filestore_...) #3121
Improvements
- Convert FilterPipeline deserialize function to static factory function #2799
- Convert array metadata deserialize function to factory function #2784
- A new thread pool with modern C++ compatible API and exception-safe behavior. #2944
- Smart pointer conversion: ArraySchema Domain #2948
- Declare all C API functions
noexcept. Put existing C API functions inside exception safety wrappers to meet the declaration change. #2961 - Add support for compile-time assertion configuration #2962
- Refactored tiledb::sm::serialization::attribute_from_capnp to be C41 compliant #2937
- Smart pointer conversion: ArraySchema Dimension #2926
- Refactored tiledb::sm::serialization::filter_pipeline_from_capnp to be C41 compliant #2943
- Enable sparse global order reader by default. #2997
- Add API for FragmentInfo::get_fragment_name #2977
- add validity file format specification #2998
- Convert Domain class deserialize function to factory function #2800
- Dense reader: fix user buffer offset computation for multi-index queries. #3002
- Sparse readers: using zipped coords buffers for fragment version < 5. #3016
- Extra UTs on string RLEs #3024
- Bump Catch2 version to 2.13.8 #3027
- Split consolidator in multiple classes. #3004
- HTML-render the existing format-spec Markdown docs. #3043
- Add more detailed doc for schema evolution timestamp range functions. #3029
- Run doc-render job on doc-only PRs, and not on non-doc PRs #3045
- Support curl POSTing >2GB data to REST #3048
- Dense reader: do not sort input ranges. #3036
- Support consolidating non-contiguous fragments. #3037
- Introduce dictionary-encoding as an enum option for filters #3042
- Move
Rangeto newtiledb::typenamespace #3059 - Convert tdb shared to shared #2965
- Add
StatusException, an exception class to be thrown instead of returningStatus#3050 - Cherry-pick #3061 #3064
- Typo fix in group.cc #3078
- Rename tiledb time.h/math.h to avoid possible conflicts with standard header files. #3087
- Convert ArraySchema's deserialize to a factory function #3012
- varying_size_datum_at: fixing comparison error. #3127
- Global writes: check global order on write continuation. #3109
Bug fixes
- [bug] Fix SC-17415: segfault due to underflow in for loop #3143
- Sparse global order reader: prevent dims from being unfiltered twice. #3150
- compare nullptr, avoid catch2 comparison warning failure #2970
- Check that array is open before getting non_empty_domain #2980
- Fix assertion failure in GCS, debug build #3001
- Fix missing stats on cloud queries. #3009
- Sparse unordered w/ dups reader: coord tiles management fix. #3023
- Incorrect validity result count in REST query #3015
- use different API approach to avoid possible file sharing violation #3056
- avoid some potentially invalid vector references #2932
- Sparse Global Order Reader Fix: Decrement Total Cells #3046
API additions
C++ API
- Add function to check if Config contains a parameter #3082
TileDB v2.8.3 Release Notes
Bug fixes
- All ranges tile overlap: skip computation for default dimensions. #3080
- Filter pipeline: fixing empty pipeline, multi chunk, refactored queries. #3149
- Unordered writer: fixing segfault for empty writes. #3161
TileDB v2.8.2 Release Notes
Bug fixes
- Sparse unordered w/ dups reader: fix incomplete reason for cloud reads. #3104
TileDB v2.8.1 Release Notes
Improvements
- Add golang annotation to capnp spec file #3089
- Update group metadata REST request to standardize cap'n proto class usage #3095
Bug fixes
- Sparse Index Reader Fix: Check For Empty Buffer #3051
- Reset group metadata only based on end timestamp to ensure its always reset to now #3091
TileDB v2.8.0 Release Notes
Disk Format
New features
- Support gs:// as an alias for gcs:// #2864
- Eliminate LOG_FATAL use from codebase #2897
- Collect missing docs #2922
- Support
tiledb://objects in the Object API #2954 - RLE compression support for var-length string dimensions #2938
- Add Metadata to groups #2966
- Add robust API to groups for adding and removing members of a group #2966
Improvements
-
Support top-level cap'n proto array object #2844
-
Nicer error message for tiledb fragment listing #2872
-
Removing Buffer from Tile. #2852
-
Splitting Writer class into 3 separate classes. #2884
-
Adding a compressor algorithm for RLE encoding of strings #2857
-
Reader: treating empty string range as expected. #2883
-
Add a compression algorithm for dictionary encoding of strings #2880
-
Adds an ArrayDirectory class to manage all URIs within the array directory. #2909
-
Remove accidental addition of writer.cc. #2917
-
Tile metadata generator: code cleanup. #2919
-
Listing improvements: new directory structure for array. #2918
-
ArraySchema's Attribute smart pointer conversion #2887
-
Add option for tile level filtering #2906
-
Switch to smart pointers and const references for
ArraySchema, and avoid fetching the latest array schema twice. #2923 -
Move vfs_helpers.cc and helper.cc into separate library with target that can be referenced elsewhere. #2929
-
Avoid calling
generate_uriinArraySchemaaccessors #2928 -
Global order writer: initialize last_var_offsets_. #2930
-
Wrap some C API functions with exception handlers. #2650
-
Fragment metadata: add min/max/sun/null count. #2934
-
Filter pipeline: incorrect stopping point during chunk parallellization. #2955
-
Adding support to consolidate ok/wrt files. #2933
-
Tile medatada: treating TILEDB_CHAR as TILEDB_STRING_ASCII. #2953
-
Fragment metadata: treating TILEDB_CHAR as TILEDB_STRING_ASCII. #2958
-
Global order writer: fixing multi writes for var size attributes. #2963
-
VFS: adding configuration for vfs.max_batch_size. #2960
-
Fixing build errors using MacOSX12.3.sdk. #2981
-
Support reading all consolidated fragment metadata files. #2973
-
Fixing compute_results_count_sparse_string for multiple range threads. #2983
-
Global writes: fixing OOM on write continuation. #2993
-
Do not store offsets when RLE is used on string dimensions #2969
-
Dynamically infer bytesizes for run length and strings for strings RLE compression #2984
-
Add ability to store (optional) name with group member #3068
Bug fixes
- Avoid thread starvation by removing std::future usage in S3 multipart upload #2851
- windows_sanity fix #2870
- Adds missing pthreads link to dynamic memory unit test #2888
- Remove
common.hfromarrow_io_impl.h#2915 - Range::set_start and set_end should throw instead of empty returning #2913
- Global writer: fixing write continuation for fixed sized attributes. #3062
tiledb_serialize_array_metadatashould load metadata if its not loaded before serializing #3065tiledb_serialize_group_metadatashould load group metadata if its not loaded. #3070
API additions
C API
- Introduce experimental
tiledb_ctx_alloc_with_errorto return error when context alloc fails #2905 - Add
tiledb_group_*APIs for robust group support #2966
C++ API
- Add missing cstddef include to fix compile w/ GCC 7 #2885
- Add
Group::*APIs for robust group support #2966
TileDB v2.7.1 Release Notes
Bug fixes
- Sparse unordered w/ dups reader: fixing memory management for tiles. #2924
TileDB v2.7.0 Release Notes
Disk Format
- Removed file
__lock.tdbfrom the array folder and updated the format spec. Also removed configvfs.file.enable_filelocks. #2692
New features
- Publish Subarray access/functionality for use outside of core. #2214
- Add TILEDB_BLOB datatype #2721
- Expose array schema libtiledb version information #2863
Improvements
- Convert loose files
thread_pool.*into a unit #2520 - Bump cmake_minimum_required to 3.21 #2532
- dynamic_memory unit, including allocator #2542
- implement windows CI functionality with github actions #2498
- implement windows crash dump file processing for windows #2657
- Added object libraries: baseline, buffer, thread_pool #2629
- ubuntu core dump processing (GA) CI #2642
- Avoid copy and set of config in
tiledb_query_add_rangeas a performance optimization from the new subarray APIs #2740 - core file stack backtracing and artifact uploading for mac CI builds #2632
- Move
Status::*ErrortoStatus_*Error#2610 - ZStd Compressor: allocate one context per thread and re-use. #2701
- Include offset index in oversize error message #2757
- Print resource pool contained type on error #2757
- Using RETURN_NOT_OK_TUPLE in attribute.cc. #2787
- Add timestamp range to schema evolution to avoid race conditions based on schema timestamp #2776
- Convert dimension deserialize to factory #2763
- Improve object type detection performance #2792
- Query condition: differentiate between nullptr and empty string. #2802
- patch git+git: to git+https: to avoid GH access failure #2805
- Remove examples writing sparse fragments to dense arrays. #2804
- Change the ZStd filter compression level range and add defined compression level default values #2623
- Change the ZStd filter compression level range and add defined compression level default values #2811
- changes to augment dbg output on build failures #2801
- Sparse unordered w/ dups reader: process queries until full user buffers #2816
- Support var-length CHAR QueryConditions #2814
- Sparse global order reader: merge smaller cell slabs. #2818
- Fixing build errors in query condition. #2820
- Enabling refactored dense reader by default. #2808
- Switching TUPLE macros to be variadic. #2822
- Read tiles: no buffer pre-allocation for no-opt filter. #2819
- Refactored dense reader: resetting the unsplittable flag on completion. #2832
- Refactored dense reader: code cleanup. #2833
- Fixing Subarray::crop_to_tile to crop default dimensions. #2831
- Dense reader: fixing src cell offset for different cell order. #2835
- Support storing integral cells in a chunk. #2821
- Improve error handling for Array non empty domain calls. #2845
- Remove OpenArray and refactor StorageManager and FragmentInfo #2839
- Adding min/max/sum/null count to fragment info. #2830
- Fine-tune unfiltering parallelization #2842
- Removing ch9473 comments in unit-cppapi-string-dims.cc. #2837
- Global writes: writting bad validity values when coordinates are dups. #2848
- Fixing issues in VS2019. #2853
- Writer: processing var tiles before offset tiles. #2854
- Writer: moving unordered_map::emplace outside of parallel_for. #2860
- Dense reader: removing unnecessary loop around read_attributes. #2859
- Convert deserialize function of Attribute to factory function #2566
- Convert Filter class deserialize and create to factory functions #2655
- Tile metadata test: reducing amount of spew in verbose mode. #2882
- compute_results_count_sparse_string: fixing incorect memcmp. #2892
- Sparse rindex readers: fixing query resume on TileDB cloud. #2900
Deprecations
- Deprecate
TILEDB_CHARin favor of users usingTILEDB_BLOBorTILEDB_STRING_ASCIIfor attribute datatypes. #2742 #2797 - Deprecate
TILEDB_ANYdatatype #2807 - Deprecate
TILEDB_STRING_USC2andTILEDB_STRING_USC4datatypes. #2812 - Drop support for Visual Studio 2017 compiler #2847
Bug fixes
- Better windows relative path support with '/' #2607
- Fixed dangling links in README. #2712
- Handle multiple core files for stack traces and archiving #2723
- restore lost cmake code necessary for clean build on windows with -EnableAzure #2656
- Return error for nonempty_domain access regardless of local/remote status #2766
- Fix segfault in new sparse null
QueryConditioncode #2794 - ReaderBase needs to load var sizes #2809
- Only initialize REST query strategies once #2836
- Logger json format output is not valid #2850
- Closing a non-opened array should be a no-op instead of error. #2889
- patch (unsupported) 3rd party azure cpp lite sdk used by TileDB to avoid memory faults #2881
- Free allocated latest array schema when on error of loading all array schemas #2907
API additions
C API
- Add
tiledb_array_schema_evolution_set_timestamp_rangeto avoid race conditions based on schema timestamp #2776 - Deprecate
TILEDB_CHARin favor of users usingTILEDB_BLOBorTILEDB_STRING_ASCIIfor attribute datatypes. #2742 #2797 - Add {set,get}_validity_filter_list #2798
- Deprecate
TILEDB_ANYdatatype #2807 - Deprecate
TILEDB_STRING_USC2andTILEDB_STRING_USC4datatypes. #2812 - Add
tiledb_array_schema_get_versionfor fetching array schema version #2863 - Introduce experimental
tiledb_ctx_alloc_with_errorto return error when context alloc fails #2905
C++ API
- Add
ArraySchemaEvolution::set_timestamp_rangeto avoid race conditions based on schema timestamp #2776 - Deprecate
TILEDB_CHARin favor of users usingTILEDB_BLOBorTILEDB_STRING_ASCIIfor attribute datatypes. #2742 #2797 - Add validity_filter_list set/get and missing get tests #2798
- Deprecate
TILEDB_ANYdatatype #2807 - Deprecate
TILEDB_STRING_USC2andTILEDB_STRING_USC4datatypes. #2812 - Add
ArraySchema::version()for fetching array schema version #2863 - Add missing cstddef include to fix compile w/ GCC 7 #2885
TileDB v2.6.4 Release Notes
Bug fixes
- Sparse unordered w/ dups reader: all empty string attribute fix. #2874
- Update Location of Zlib Download URL #2945
TileDB v2.6.3 Release Notes
Bug fixes
- compute_results_count_sparse_string: fixing incorect memcmp. #2892
- Sparse rindex readers: fixing query resume on TileDB cloud. #2900
TileDB v2.6.2 Release Notes
Bug fixes
- Only initialize REST query strategies once #2836
- Sparse unordered w dups reader: fixing max pos calculation in tile copy. #2840
TileDB v2.6.1 Release Notes
Bug fixes
- Sparse unordered w/ dups reader: off by one error in query continuation. #2815
- Sparse unordered w dups reader: fixing query continuation with subarray. #2824
API additions
C++ API
- tiledb::Array destructor no longer calls ::close for non-owned C ptr #2823
TileDB v2.6.0 Release Notes
Improvements
- Sparse unordered with dups reader: removing result cell slabs. #2606
- Use as-installed path for TileDBConfig CMake static library imports #2669
- Check error message variable for nullptr before further use #2634
- Fixing str_coord_intersects to use std::basic_string_view. #2654
- Sparse unordered with duplicates reader: cell num fix. #2636
- Sparse unordered with dups reader: fixing initial bound calculation. #2638
- Read_tiles parallelization improvements. #2644
- Sparse global order reader: memory management unit tests. #2645
- Reduce scope of
open_array_for_reads_mtx_locks #2681 - Sparse refactored readers: better parallelization for tile bitmaps. #2643
- ZStd compressor: allocate one context per thread and re-use. #2691
- Sparse refactored readers: disable filtered buffer tile cache. #2651
- Moving coord_string from returning a std::string to std::basic_string_view. #2704
- Sparse unordered w/ dups reader: tracking cell progress. #2668
- Sparse unordered w/ dups reader: fixing var size overflow adjustment. #2713
- Enable memfs tests that were disabled by mistake #2648
- Add helpful details to memory limit error strings. #2729
- Sparse refactored readers: Better vectorization for tile bitmaps calculations. #2711
- Sort ranges for unordered with duplicate reader and exit comparisons early #2736
- Sparse refactored readers: better vectorization for query condition. #2737
- Use correct frag index in tiles creation for compute_result_space_tiles. #2741
- Use a single uint64 for cell counts #2749
- Array Schema name should be included with cap'n proto serialization #2696
- Add and use blocking resource pool #2735
- Making the allocation part of read_tiles single threaded. #2753
- Sparse unordered w/ dups reader: remove invalid assert. #2778
- Read tiles: fixing preallocation size for var and validity buffers. #2781
- Sparse unordered w/ dups: var buffer overflow on tile continuation fix. #2777
- Determine non overlapping ranges automatically. #2780
Deprecations
- eliminate usage of std::iterator due to c++17 deprecation #2675
Bug fixes
- upgrade to blosc 1.21.0 from 1.14.x #2422
- Guard ZStd resource pool to fix initialization race #2699
- [C API] Add missing save_error calls in vfs_ls #2714
- Use fragment array schema for applying query condition to account for schema evolution #2698
- Don't try to read config from uninitialize storage manager #2771
API additions
C API
- Add bulk point-range setter tiledb_query_add_point_ranges #2765
- Add experimental query status details API #2770
C++ API
- Backport Query::ctx and Query::array getters from 2.7 #2754
TileDB v2.5.3 Release Notes
Improvements
- Removing unnecessary openssl callback function. #2705
- openssl3 md5 deprecation mitigation #2716
- Sparse refactored reader: change all_tiles_loaded_ to vector of uint8_t. #2724
Bug fixes
- Properly check and use legacy readers instead of refactored in serialized query. #2667
- Set array URI in cap'n proto object for compatibility with repeated opened array usage in TileDB 2.4 and older. #2676
- Add the compute_mbr_var_func_pointer assignment in Dimension constructor #2730
TileDB v2.5.2 Release Notes
Improvements
- Provide non-AVX2 build artifact on Linux #2649
- Error out when setting multiple ranges for global layout #2658
Bug fixes
- Patch AWS sdk for cmake 3.22 support #2639
- Remove assert on memory_used_result_tile_ranges_ in SparseUnorderedWithDupsReader #2652
- Remove tiles that are empty through being filtered with a query condition #2659
- Always load array schemas during array open to find any new array schemas created from array schema evolution #2613
TileDB v2.5.1 Release Notes
New features
- Disable AVX2 for MSys2 builds used by CRAN #2614
Improvements
- Clarify error messages in
check_buffers_correctness()#2580
Bug fixes
- Fix schema evolution calls on all pre-TileDB 2.4 arrays #2611
- Unordered reads should be allowed for dense arrays #2608
- Fix logger creation on context to be threadsafe #2625
API additions
C++ API
- Add C++ API for
Context::last_error()#2609
TileDB v2.5.0 Release Notes
Breaking C API changes
- Remove deprecated c-api
tiledb_array_max_buffer_sizeandtiledb_array_max_buffer_size_var#2579 - Remove deprecated cpp-api
Array::max_buffer_elements#2579
New features
- Support upgrading an older version array to the latest version #2513
- Add improved logging support to classes #2565
Improvements
- Replace Buffer key_ with char key_[32] per shortcut story id 9561 #2502
- Remove support for sparse writes in dense arrays. #2504
- Initial dense refactor. #2503
- More concise cmake output during build #2512
- Sparse refactored readers: fixing looping behavior on large arrays. #2530
- Use sparse global order reader for unordered without duplicates queries. #2526
- Add CMakeUserPresets.json to .gitignore #2534
- Sparse unordered with duplicates reader: support multiple ranges. #2537
- Refactored sparse readers: tile overlap refactor. #2547
- Refactored dense reader: fixing output buffer offsets with multi-ranges. #2553
- Refactored sparse readers: serialization fixes. #2558
- Refactored sparse readers: proper lifetime for tile bitmaps. #2563
- REST scratch buffer is now owned by the query to allow reuse #2555
- Remove default constructor from
Dimension#2561 - Resource pool: fixing off by one error. #2567
- Splitting config for refactored readers. #2569
- Sparse refactored readers: memory management unit tests. #2568
- Removed all aspects of posix_code from Status #2571
- Fixing pre-loading for tile offsets in various readers. #2570
- Use the new logger in Subarray, SubarrayPartitioner and Consolidator classes. #2574
- Add tiledb_fragment_info_get_schema_name #2581
- Enable CMake AVX2 check #2591
- Adding logging for sparse refactored readers. #2575
- use ROW_MAJOR read paths for unordered reads of Hilbert layout array #2551
Bug fixes
- Fix the memory leak in store_array_schema in the StorageManager class. #2480
- Fix curl/REST query scratch size to reset after each query is processed. #2535
- Sparse refactored readers: segfault with dimension only reads. #2539
- REST array metadata writes should post with timestamps #2545
- Fix bug in Arrow schema construction #2554
- Replaced
auto& pathwithauto path#2560
API additions
C API
- Expose MBR in Fragment Info API #2222
- Add
tiledb_fragment_info_get_array_schema_namefor fetching array name used by fragment #2581
C++ API
- Expose MBR in Fragment Info API #2222
- Add
FragmentInfo::array_schema_namefor fetching array name used by fragment #2581
TileDB v2.4.3 Release Notes
Bug fixes
- Fix segfault in result
ResultTile::coord_stringandResultTile::compute_results_sparse<char>due empty chunk buffer #2531 - Fix memory corruption with empty result set in extra_element mode #2540
- REST array metadata writes should post with timestamps #2545
- Backport fixes for new Sparse Unordered with Duplicate readers from #2530 and #2538
API additions
TileDB v2.4.2 Release Notes
New features
- Add support for empty string as query condition value. #2507
Improvements
- Support writing empty strings for dimensions #2501
- Refactored readers can segfault when multiple contexts are used. #2525
Bug fixes
- Fix ch10191: check cell_val_num for varlen status instead of result count #2505
- Do not access variables after moving them #2522
- Add try/catch to
tiledb_ctx_allocfor exception safety #2527
TileDB v2.4.0 Release Notes
Disk Format
- Store array schemas under
__schemadirectory #2258
New features
- Perform early audit for acceptable aws sdk windows path length #2260
- Support setting via config s3 BucketCannedACL and ObjectCannedACL via SetACL() methods #2383
- Update spdlog dependency to 1.9.0 fixing c++17 compatibility and general improvements #1973
- Added Azure SAS token config support and new config option #2420
- Load all array schemas in storage manager and pass the appropriate schema pointer to each fragment #2415
- First revision of the Interval class #2417
- Add
tiledb_schema_evolution_tand new apis for schema evolution #2426 - Add
ArraySchemaEvolutionto cpp_api and its unit tests are also added. #2462 - Add c and cpp api functions for getting the array schema of a fragment #2468
- Add capnp serialization and rest support for array schema evolution objects #2467
Improvements
encryption_keyandencryption_typeparameters have been added to the config; internal APIs now use these parameters to set the key. #2245- Initial read refactor #2374
- Create class ByteVecValue from typedef #2368
- Encapsulate spdlog.h #2396
- Update OSX target to 10.14 for release artifacts #2401
- Add nullable (and unordered, nullable) support to the smoke test. #2405
- Initial sparse global order reader #2395
- Remove sm.sub_partitioner_memory_budget #2402
- Update the markdown documents for our new version of array schemas #2416
- Sparse global order reader: no more result cell slab copy. #2411
- Sparse global order reader: initial memory budget improvements. #2413
- Optimization of result cell slabs generation for sparse global order reader. #2414
- Remove selective unfiltering. #2410
- Updated Azure Storage Lite SDK to 0.3.0 #2419
- Respect memory budget for sparse global order reader. #2425
- Use newer Azure patch for all platforms to solve missing header error #2433
- increased diag output for differences reported by tiledb_unit (some of which may be reasonable) #2437
- Adjustments to schema evolution new attribute reads #2484
- Change
Quickstartlink in readthedocs/doxygenindex.rst#2448 - Initial sparse unordered with duplicates reader. #2441
- Add calls to
malloc_trimon context and query destruction linux to potentially reduce idle memory usage #2443 - Add logger internals for
std::stringandstd::stringstreamfor developer convenience #2454 - Allow empty attribute writes. #2461
- Refactored readers: serialization. #2458
- Allow null data pointers for writes. #2481
- Update backwards compatibility arrays for 2.3.0 #2487
Deprecations
Bug fixes
- Fix to correctly apply capnproto create_symlink avoidance patch #2264
- The bug for calculating max_size_validity for var_size attribute caused incomplete query #2266
- Always run ASAN with matching compiler versions #2277
- Fix some loop bounds that reference non-existent elements #2282
- Treating
std::vectorlike an array; accessing an element that is not present to get its address. #2276 - Fix buffer arguments in unit-curl.cc #2287
- Stop loop iterations within limits of vector being initialized. #2320
- Modify FindCurl_EP.cmake to work for WIN32 -EnableDebug builds #2319
- Fixing test failure because of an uninitialized buffer. #2386
- Change a condition that assumed MSVC was the only compiler for WIN32 #2388
- Fix defects in buffer classes: read, set_offset, advance_offset #2342
- Use CHECK_SAFE() to avoid multi-threaded conflict #2394
- Use tiledb _SAFE() items when overlapping threads may invoke code #2418
- Changes to address issues with default string dimension ranges in query #2436
- Only set cmake policy CMP0076 if cmake version in use knows about it #2463
- Fix handling curl REST request having all data in single call back #2485
- Write queries should post start/end timestamps for REST arrays #2492
API additions
- Introduce new
tiledb_experimental.hc-api header for new feature that don't have a stabilized api yet #2453 - Introduce new
tiledb_experimentalcpp-api header for new feature that don't have a stabilized api yet #2453
C API
- Refactoring [get/set]_buffer APIs #2315
- Add
tiledb_fragment_info_get_array_schemafunctions for getting the array schema of a fragment #2468 - Add
tiledb_schema_evolution_tand new apis for schema evolution #2426
C++ API
- Refactoring [get/set]_buffer APIs #2399
- Add
FragmentInfo::array_schemafunctions for getting the array schema of a fragment #2468 - Add
ArraySchemaEvolutionto cpp_api and its unit tests are also added. #2462
TileDB v2.3.4 Release Notes
Improvements
Bug fixes
- Fix deserialization of buffers in write queries with nullable var-length attributes #2442
TileDB v2.3.3 Release Notes
Improvements
- Increase REST (TileDB Cloud) retry count from 3 to 25 to be inline with S3/GCS retry times #2421
- Avoid unnecessary
est_result_sizecomputation inmust_split#2431 - Use newer Azure patch for all platforms to solve missing header error #2433
Bug fixes
- Fix c-api error paths always resetting any alloced pointers to nullptr in-addition to deleting #2427
TileDB v2.3.2 Release Notes
Improvements
- Support more env selectable options in both azure-windows.yml and azure-windows-release.yml #2384
- Enable Azure/Serialization for windows CI artifacts #2400
Bug fixes
- Correct check for last offset position so that undefined memory is not accessed. #2390
- Fix ch8416, failure to read array written with tiledb 2.2 via REST #2404
- Fix ch7582: use the correct buffer for validity deserialization #2407
TileDB v2.3.1 Release Notes
Improvements
- Update bzip2 in windows build to 1.0.8 #2332
- Fixing S3 build for OSX11 #2339
- Fixing possible overflow in Dimension::tile_num #2265
- Fixing tile extent calculations for signed integer domains #2303
- Add support for cross compilation on OSX in superbuild #2354
- Remove curl link args for cross compilation #2359
- Enable MacOS arm64 release artifacts #2360
- Add more stats for `compute_result_coords` path #2366
- Support credentials refresh for AWS #2376
Bug fixes
- Fixing intermittent metadata test failure #2338
- Fix query condition validation check for nullable attributes with null conditions #2344
- Multi-range single dimension query fix #2347
- Rewrite
Dimension::overlap_ratio#2304 - Follow up fixes to floating point calculations for tile extents #2341
- Fix for set_null_tile_extent_to_range #2361
- Subarray partitioner, unordered should be unordered, even for Hilbert. #2377
TileDB v2.3.0 Release Notes
Disk Format
- Format version incremented to 9. #2108
Breaking behavior
- The setting of `sm.read_range_oob` now defaults to `warn`, allowing queries to run with bounded ranges that errored before. #2176
- Removes TBB as an optional dependency #2181
New features
- Support TILEDB_DATETIME_{SEC,MS,US,NS} in arrow_io_impl.h #2228
- Adds support for filtering query results on attribute values #2141
- Adding support for time datatype dimension and attribute #2140
- Add support for serialization of config objects #2164
- Add C and C++ examples to the
examples/directory for thetiledb_fragment_info_tAPIs. #2160 - supporting serialization (using capnproto) build on windows #2100
- Config option "vfs.s3.sse" for S3 server-side encryption support #2130
- Name attribute/dimension files by index. This is fragment-specific and updates the format version to version 9. #2107
- Smoke Test, remove nullable structs from global namespace. #2078
Improvements
- replace ReadFromOffset with ReadRange in GCS::read() to avoid excess gcs egress traffic #2307
- Hilbert partitioning fixes #2269
- Stats refactor #2267
- Improve Cap'n Proto cmake setup for system installations #2263
- Runtime check for minimum validity buffer size #2261
- Enable partial vacuuming when vacuuming with timestamps #2251
- Consolidation: de-dupe FragmentInfo #2250
- Consolidation: consider non empty domain before start timestamp #2248
- Add size details to s3 read error #2249
- Consolidation: do not re-open array for each fragment #2243
- Support back compat writes #2230
- Serialization support for query conditions #2240
- Make SubarrayPartitioner's member functions to return Status after calling Subarray::get_range_num. #2235
- Update bzip2 super build version to 1.0.8 to address CVE-2019-12900 in libbzip2 #2233
- Timestamp start and end for vacuuming and consolidation #2227
- Fix memory leaks reported on ASAN when running with leak-detection. #2223
- Use relative paths in consolidated fragment metadata #2215
- Optimize
Subarray::compute_relevant_fragments#2216 - AWS S3: improve is_dir #2209
- Add nullable string to nullable attribute example #2212
- AWS S3: adding option to skip Aws::InitAPI #2204
- Added additional stats for subarrays and subarray partitioners #2200
- Introduces config parameter "sm.skip_est_size_partitioning" #2203
- Add config to query serialization. #2177
- Consolidation support for nullable attributes #2196
- Adjust unit tests to reduce memory leaks inside the tests. #2179
- Reduces memory usage in multi-range range reads #2165
- Add config option `sm.read_range_oob` to toggle bounding read ranges to domain or erroring #2162
- Windows msys2 build artifacts are no longer uploaded #2159
- Add internal log functions to log at different log levels #2161
- Parallelize Writer::filter_tiles #2156
- Added config option "vfs.gcs.request_timeout_ms" #2148
- Improve fragment info loading by parallelizing fragment_size requests #2143
- Allow open array stats to be printed without read query #2131
- Cleanup the GHA CI scripts - put common code into external shell scripts. #2124
- Reduced memory consumption in the read path for multi-range reads. #2118
- The latest version of
devwas leaving behind atest/empty_string3/. This ensures that the directory is removed whenmake checkis run. #2113 - Migrating AZP CI to GA #2111
- Cache non_empty_domain for REST arrays like all other arrays #2105
- Add additional stats printing to breakdown read state initialization timings #2095
- Places the in-memory filesystem under unit test #1961
- Adds a Github Action to automate the HISTORY.md #2075
- Change printfs in C++ examples to cout, edit C print statements to fix format warnings #2226
Deprecations
- The following APIs have been deprecated:
tiledb_array_open_at,tiledb_array_open_at_with_key,tiledb_array_reopen_at. #2142
Bug fixes
- Fix a segfault on
VFS::lsfor the in-memory filesystem #2255 - Fix rare read corruption in S3 #2253
- Update some union initializers to use strict syntax #2242
- Fix race within
S3::init_client#2247 - Expand accepted windows URIs. #2237
- Write fix for unordered writes on nullable, fixed attributes. #2241
- Fix tile extent to be reported as domain extent for sparse arrays with Hilbert ordering #2231
- Do not consider option sm.read_range_oob for set_subarray() on Write queries #2211
- Change avoiding generation of multiple, concatenated, subarray flattened data. #2190
- Change mutex from basic to recursive #2180
- Fixes a memory leak in the S3 read path #2189
- Fixes a potential memory leak in the filter pipeline #2185
- Fixes misc memory leaks in the unit tests #2183
- Fix memory leak of `tiledb_config_t` in error path of `tiledb_config_alloc`. #2178
- Fix check for null pointer in query deserialization #2163
- Fixes a potential crash when retrying incomplete reads #2137
- Fixes a potential crash when opening an array with consolidated fragment metadata #2135
- Corrected a bug where sparse cells may be incorrectly returned using string dimensions. #2125
- Fix segfault in serialized queries when partition is unsplittable #2120
- Always use original buffer size in serialized read queries serverside. #2115
- Fix an edge-case where a read query may hang on array with string dimensions #2089
API additions
C API
- Added tiledb_array_set_open_timestamp_start and tiledb_array_get_open_timestamp_start #2285
- Added tiledb_array_set_open_timestamp_end and tiledb_array_get_open_timestamp_end #2285
- Addition of
tiledb_array_set_configto directly assign a config to an array. #2142 - tiledb_query_get_array now returns a deep-copy #2184
- Added `tiledb_serialize_config` and `tiledb_deserialize_config` #2164
- Add new api,
tiledb_query_get_configto get a query's config. #2167 - Removes non-default parameter in "tiledb_config_unset". #2099
C++ API
- Added Array::set_open_timestamp_start and Array::open_timestamp_start #2285
- Added Array::set_open_timestamp_end and Array::open_timestamp_end #2285
- add Query::result_buffer_elements_nullable support for dims #2238
- Addition of
tiledb_array_set_configto directly assign a config to an array. #2142 - Add new api,
Query.config()to get a query's config. #2167 - Removes non-default parameter in "Config::unset". #2099
- Add support for a string-typed, variable-sized, nullable attribute in the C++ API. #2090
TileDB v2.2.9 Release Notes
Bug fixes
- Fix rare read corruption in S3 #2254
- Write fix for unordered writes on nullable, fixed attributes #2241
TileDB v2.2.8 Release Notes
Disk Format
Breaking C API changes
Breaking behavior
New features
- Support TILEDB_DATETIME_{SEC,MS,US,NS} in arrow_io_impl.h #2229
- Add support for serialization of config objects #2164
- Add support for serialization of query config #2177
Improvements
- Optimize
Subarray::compute_relevant_fragments#2218 - Reduces memory usage in multi-range range reads #2165
- Add config option
sm.read_range_oobto toggle bounding read ranges to domain or erroring #2162 - Updates bzip2 to v1.0.8 on Linux/OSX #2233
Deprecations
Bug fixes
- Fixes a potential memory leak in the filter pipeline #2185
- Fixes misc memory leaks in the unit tests #2183
- Fix memory leak of
tiledb_config_tin error path oftiledb_config_alloc. #2178
API additions
C API
- tiledb_query_get_array now returns a deep-copy #2188
- Add new api,
tiledb_query_get_configto get a query's config. #2167 - Added
tiledb_serialize_configandtiledb_deserialize_config#2164
C++ API
- Add new api,
Query.config()to get a query's config. #2167
TileDB v2.2.7 Release Notes
Improvements
- Added config option vfs.gcs.request_timeout_ms #2148
- Improve fragment info loading by parallelizing fragment_size requests #2143
- Apply 'var_offsets.extra_element' mode to string dimension offsets too #2145
TileDB v2.2.6 Release Notes
Bug fixes
- Fixes a potential crash when retrying incomplete reads #2137
TileDB v2.2.5 Release Notes
New features
- Config option vfs.s3.sse for S3 server-side encryption support #2130
Improvements
- Reduced memory consumption in the read path for multi-range reads. #2118
- Cache non_empty_domain for REST arrays like all other arrays #2105
- Add additional timer statistics for openning array for reads #2027
- Allow open array stats to be printed without read query #2131
Bug fixes
- Fixes a potential crash when opening an array with consolidated fragment metadata #2135
- Corrected a bug where sparse cells may be incorrectly returned using string dimensions. #2125
- Always use original buffer size in serialized read queries serverside. #2115
- Fix segfault in serialized queries when partition is unsplittable #2120
TileDB v2.2.4 Release Notes
Improvements
- Add additional stats printing to breakdown read state initialization timings #2095
- Improve GCS multipart locking #2087
Bug fixes
- Fix an edge-case where a read query may hang on array with string dimensions #2089
- Fix mutex locking bugs on Windows due to unlocking on different thread and missing task join #2077
C++ API
- Add support for a string-typed, variable-sized, nullable attribute in the C++ API. #2090
TileDB v2.2.3 Release Notes
New features
- Add support for retrying REST requests that fail with certain http status code such as 503 #2060
Improvements
- Parallelize across attributes when closing a write #2048
- Support for dimension/attribute names that contain commonly reserved filesystem characters #2047
- Remove unnecessary
is_dirinFragmentMetadata::store, this can increase performance for s3 writes #2050 - Improve S3 multipart locking #2055
- Parallize loading fragments and array schema #2061
TileDB v2.2.2 Release Notes
New features
- REST client support for caching redirects #1919
Improvements
- Add
rest.creation_access_credentials_nameconfiguration parameter #2025
Bug fixes
- Fixed ArrowAdapter export of string arrays with 64-bit offsets #2037
- Fixed ArrowAdapter export of TILEDB_CHAR arrays with 64-bit offsets #2039
API additions
C API
- Add
tiledb_query_set_configto apply atiledb_config_tto query-level parameters #2030
C++ API
- Added
Query::set_configto apply atiledb::Configto query-level parameters #2030
TileDB v2.2.1 Release Notes
Breaking behavior
- The tile extent can now be set to null, in which case internally TileDB sets the extent to the dimension domain range. #1880
- The C++ API
std::pair<uint64_t, uint64_t> Query::est_result_size_varhas been changed to 1) a return type ofstd::array<uint64_t, 2>and 2) returns the offsets as a size in bytes rather than elements. #1946
New features
- Support for nullable attributes. #1895 #1938 #1948 #1945
- Support for Hilbert order sorting for sparse arrays. #1880
- Support for AWS S3 "AssumeRole" temporary credentials #1882
- Support for zero-copy import/export with the Apache Arrow adapter #2001
- Experimental support for an in-memory backend used with bootstrap option "--enable-memfs" #1873
- Support for element offsets when reading var-sized attributes. [#1897] (https://github.com/TileDB-Inc/TileDB/pull/1897)
- Support for an extra offset indicating the size of the returned data when reading var-sized attributes. [#1932] (https://github.com/TileDB-Inc/TileDB/pull/1932)
- Support for 32-bit offsets when reading var-sized attributes. [#1950] (https://github.com/TileDB-Inc/TileDB/pull/1950)
Improvements
- Optimized string dimension performance.
- Added functionality to get fragment information from an array. #1900
- Prevented unnecessary sorting when (1) there is a single fragment and (i) either the query layout is global order, or (ii) the number of dimensions is 1, and (2) when there is a single range for which the result coordinates have already been sorted. #1880
- Added extra stats for consolidation. #1880
- Disabled checking if cells are written in global order when consolidating, as it was redundant (the cells are already being read in global order during consolidation). #1880
- Optimize consolidated fragment metadata loading #1975
Bug fixes
- Fix tiledb_dimension_alloc returning a non-null pointer after error [#1959]((https://github.com/TileDB-Inc/TileDB/pull/1859)
- Fixed issue with string dimensions and non-set subarray (which implies spanning the whole domain). There was an assertion being triggered. Now it works properly.
- Fixed bug when checking the dimension domain for infinity or NaN values. #1880
- Fixed bug with string dimension partitioning. #1880
API additions
C API
- Added functions for getting fragment information. #1900
- Added APIs for getting and setting ranges of queries using a dimension name. #1920
C++ API
- Added class
FragmentInfoand functions for getting fragment information. #1900 - Added function
Dimension::createthat allows not setting a space tile extent. #1880 - Added APIs for getting and setting ranges of queries using a dimension name. #1920
- Changed
std::pair<uint64_t, uint64_t> Query::est_result_size_vartostd::array<uint64_t, 2> Query::est_result_size_var. Additionally, the size estimate for the offsets have been changed from elements to bytes. #1946
TileDB v2.2.0 Release Notes
- This release was skipped due to an erroneous
2.2.0git tag.
TileDB v2.1.6 Release Notes
Bug fixes
- Fix deadlock in
ThreadPool::wait_or_work#1994 - Fix "[TileDB::ChunkedBuffer] Error: Cannot init chunk buffers; Total size must be non-zero." in read path #1992
TileDB v2.1.5 Release Notes
Improvements
- Optimize consolidated fragment metadata loading #1975
- Optimize
Reader::load_tile_offsetsfor loading only relevant fragments #1976 #1983 - Optimize locking in
FragmentMetadata::load_tile_offsetsandFragmentMetadata::load_tile_var_offsets#1979 - Exit early in
Reader::copy_coordinates/Reader::copy_attribute_valueswhen no results #1984
Bug fixes
- Fix segfault in optimized
compute_results_sparse<char>#1969 - Fix GCS "Error:: Read object failed"#1966
- Fix segfault in
ResultTile::str_coords_intersects#1981
TileDB v2.1.4 Release Notes
Improvements
- Optimize
ResultTile::compute_results_sparse<char>resulting in significant performance increases in certain cases with string dimensions #1963
TileDB v2.1.3 Release Notes
Improvements
- Optimized string dimension performance. #1922
Bug fixes
- Updated the AWS SDK to v1.8.84 to fix an uncaught exception when using S3 #1899TileDB-Py #409
- Fixed bug where a read on a sparse array may return duplicate values. #1905
- Fixed bug where an array could not be opened if created with an array schema from an older version #1889
- Fix compilation of TileDB Tools #1926
TileDB v2.1.2 Release Notes
Bug fixes
- Fix ArraySchema not write protecting fill values for only schema version 6 or newer #1868
- Fix segfault that may occur in the VFS read-ahead cache #1871
TileDB v2.1.1 Release Notes
Bug fixes
- The result size estimatation routines will no longer return non-zero sizes that can not contain a single value. #1849
- Fix serialization of dense writes that use ranges #1860
- Fixed a crash from an unhandled SIGPIPE signal that may raise when using S3 #1856
TileDB v2.1.0 Release Notes
Breaking behavior
- Empty dense arrays now return cells with fill values. Also the result estimator is adjusted to work properly with this new behavior.
New features
- Added configuration option "sm.compute_concurrency_level" #1766
- Added configuration option "sm.io_concurrency_level" #1766
- Added configuration option "sm.sub_partitioner_memory_budget" #1729
- Added configuration option "vfs.read_ahead_size" #1785
- Added configuration option "vfs.read_ahead_cache_size" #1785
- Added support for getting/setting Apache Arrow buffers from a Query #1816
Improvements
- Source built curl only need HTTP support #1712
- AWS SDK version bumped to 1.8.6 #1718
- Split posix permissions into files and folers permissions #1719
- Support seeking for CURL to allow redirects for posting to REST #1728
- Changed default setting for
vfs.s3.proxy_schemefromhttpstohttpto match common usage needs #1759 - Enabled parallelization with native system threads when TBB is disabled #1760
- Subarray ranges will be automatically coalesced as they are added #1755
- Update GCS SDK to v1.16.0 to fixes multiple bugs reported #1768
- Read-ahead cache for cloud-storage backends #1785
- Allow multiple empty values at the end of a variable-length write #1805
- Build system will raise overridable error if important paths contain regex character #1808
- Lazily create AWS ClientConfiguration to avoid slow context creations for non S3 usage after the AWS SDK version bump #1821
- Moved
Status,ThreadPool, andLoggerclasses from foldertiledb/smtotiledb/common#1843
Deprecations
- Deprecated config option "sm.num_async_threads" #1766
- Deprecated config option "sm.num_reader_threads" #1766
- Deprecated config option "sm.num_writer_threads" #1766
- Deprecated config option "vfs.num_threads" #1766
- Support for MacOS older than 10.13 is being dropped when using the AWS SDK. Prebuilt Binaries now target 10.13 #1753
- Use of Intel's Thread Building Blocks (TBB) will be discontinued in the future. It is now disabled by default #1762
- No longer building release artifacts with Intel's Thread Building Blocks (TBB) enabled #1825
Bug fixes
- Fixed bug in setting a fill value for var-sized attributes.
- Fixed a bug where the cpp headers would always produce compile-time warnings about using the deprecated c-api "tiledb_coords()" #1765
- Only serialize the Array URI in the array schema client side. #1806
- Fix C++ api
consolidate_metadatafunction uses incorrect config #1841 #1844
API additions
C API
- Added functions
tiledb_attribute_{set,get}_fill_valueto get/set default fill values
C++ API
- Added functions
Attribute::{set,get}_fill_valueto get/set default fill values
TileDB v2.0.8 Release Notes
Improvements
- Lazy initialization for GCS backend #1752
- Add additional release artifacts which include disabling TBB #1753
Bug fixes
- Fix crash during GCS backend initialization due to upstream bug. #1752
TileDB v2.0.7 Release Notes
Improvements
- Various performance optimizations in the read path. #1689 #1692 #1693 #1694 #1695
- Google Cloud SDK bumped to 1.14. #1687, #1742
Bug fixes
- Fixed error "Error: Out of bounds read to internal chunk buffer of size 65536" that may occur when writing var-sized attributes. #1732
- Fixed error "Error: Chunk read error; chunk unallocated error" that may occur when reading arrays with more than one dimension. #1736
- Fix Catch2 detection of system install #1733
- Use libtiledb-detected certificate path for Google Cloud Storage, for better linux binary/wheel portability. #1741
- Fixed a small memory leak when opening arrays. #1690
- Fixed an overflow in the partioning path that may result in a hang or poor read performance. #1725#1707
- Fix compilation on gcc 10.1 for blosc #1740
- Fixed a rare hang in the usage of
load_tile_var_sizes. #1748
TileDB v2.0.6 Release Notes
Improvements
- Add new config option
vfs.file.posix_permissions. #1710
Bug fixes
- Return possible env config variables in config iter #1714
TileDB v2.0.5 Release Notes
Improvements
- Don't include curl's linking to libz, avoids build issue with double libz linkage #1682
TileDB v2.0.4 Release Notes
Improvements
- Fix typo in GCS cmake file for superbuild #1665
- Don't error on GCS client init failure #1667
- Don't include curl's linking to ssl, avoids build issue on fresh macos 10.14/10.15 installs #1671
- Handle ubuntu's cap'n proto package not providing cmake targets #1659
Bug fixes
- The C++ Attribute::create API now correctly builds from an STL array #1670
- Allow opening arrays with read-only permission on posix filesystems #1676
- Fixed build issue caused by passing std::string to an Aws method #1678
TileDB v2.0.3 Release Notes
Improvements
- Add robust retries for S3 SLOW_DOWN errors #1651
- Improve GCS build process #1655
- Add generation of pkg-config file #1656
- S3 should use HEADObject for file size #1657
- Improvements to stats #1652
- Add artifacts to releases from CI #1663
Bug fixes
- Remove to unneeded semicolons noticed by the -pedantic flag #1653
- Fix cases were TILEDB_FORCE_ALL_DEPS picked up system builds #1654
- Allow errors to be show in cmake super build #1658
- Properly check vacuum files and limit fragment loading #1661
- Fix edge case where consolidated but unvacuumed array can have coordinates report twice #1662
API additions
- Add c-api tiledb_stats_raw_dump[_str] function for raw stats dump #1660
- Add c++-api Stats::raw_dump function for raw stats dump #1660
TileDB v2.0.2 Release Notes
Bug fixes
- Fix hang on open array v1.6 #1645
Improvements
- Allow empty values for variable length attributes #1646
TileDB v2.0.1 Release Notes
Improvements
- Remove deprecated max buffer size APIs from unit tests #1625
- Remove deprecated max buffer API from examples #1626
- Remove zipped coords from examples #1632
- Allow AWSSDK_ROOT_DIR override #1637
Deprecations
Bug fixes
- Allow setting zipped coords multiple times #1627
- Fix overflow in check_tile_extent #1635
- Fix C++ Dimension API
{tile_extent,domain}_to_str. #1638 - Remove xlock in FragmentMetadata::store #1639
API additions
TileDB v2.0.0 Release Notes
Disk Format
- Removed file
__coords.tdbthat stored the zipped coordinates in sparse fragments - Now storing the coordinate tiles on each dimension in separate files
- Changed fragment name format from
__t1_t2_uuidto__t1_t2_uuid_<format_version>. That was necessary for backwards compatibility
Breaking C API changes
- Changed
domaininput oftiledb_dimension_get_domaintoconst void**(fromvoid**). - Changed
tile_extentinput oftiledb_dimension_get_tile_extenttoconst void**(fromvoid**). - Anonymous attribute and dimensions (i.e., empty strings for attribute/dimension names) is no longer supported. This is because now the user can set separate dimension buffers to the query and, therefore, supporting anonymous attributes and dimensions creates ambiguity in the current API.
Breaking behavior
- Now the TileDB consolidation process does not clean up the fragments or array metadata it consolidates. This is (i) to avoid exclusively locking at any point during consolidation, and (ii) to enable fine-grained time traveling even in the presence of consolidated fragments or array metadata. Instead, we added a special vacuuming API which explicitly cleans up consolidated fragments or array metadata (with appropriate configuration parameters). The vacuuming functions briefly exclusively lock the array.
New features
- Added string dimension support (currently only
TILEDB_STRING_ASCII). - The user can now set separate coordinate buffers to the query. Also any subset of the dimensions is supported.
- The user can set separate filter lists per dimension, as well as the number of values per coordinate.
Improvements
- Added support for AWS Security Token Service session tokens via configuration option
vfs.s3.session_token. #1472 - Added support for indicating zero-value metadata by returning
value_num== 1 from the_get_metadatataandArray::get_metadataAPIs #1438 (this is a non-breaking change, as the documented return ofvalue == nullptrto indicate missing keys does not change)` - User can set coordinate buffers separately for write queries.
- Added option to enable duplicate coordinates for sparse arrays #1504
- Added support for writing at a timestamp by allowing opening an array at a timestamp (previously disabled).
- Added special files with the same name as a fragment directory and an added suffix ".ok", to indicate a committed fragment. This improved the performance of opening an array on object stores significantly, as it avoids an extra REST request per fragment.
- Added functionality to consolidation, which allows consolidating the fragment metadata footers in a single file by toggling a new config parameter. This leads to a huge performance boost when opening an array, as it avoids fetching a separate footer per fragment from storage.
- Various reader parallelizations that boosted read performance significantly.
- Configuration parameters can now be read from environment variables.
vfs.s3.session_token->TILEDB_VFS_S3_SESSION_TOKEN. The prefix ofTILEDB_is configurable viaconfig.env_var_prefix. #1600
Deprecations
- The TileDB tiledb_array_consolidate_metadata and tiledb_array_consolidate_metadata_with_key C-API routines have been deprecated and will be removed entirely in a future release. The tiledb_array_consolidate and tiledb_array_consolidate_with_key routines achieve the same behavior when the "sm.consolidation.mode" parameter of the configuration argument is equivalent to "array_meta".
- The TileDB Array::consolidate_metadata CPP-API routine has been deprecated and will be removed entirely in a future release. The Array::consolidate routine achieves the same behavior when the "sm.consolidation.mode" parameter of the configuration argument is equivalent to "array_meta".
Bug fixes
- Fixed bug in dense consolidation when the array domain is not divisible by the tile extents.
API additions
- Added C API function
tiledb_array_has_metadata_keyand C++ API functionArray::has_metadata_key#1439 - Added C API functions
tiledb_array_schema_{set,get}_allows_dupsand C++ API functionsArray::set_allows_dupsandArray::allows_dups - Added C API functions
tiledb_dimension_{set,get}_filter_listandtiledb_dimension_{set,get}_cell_val_num - Added C API functions
tiledb_array_get_non_empty_domain_from_{index,name} - Added C API function
tiledb_array_vacuum - Added C API functions
tiledb_array_get_non_empty_domain_var_size_from_{index,name} - Added C API functions
tiledb_array_get_non_empty_domain_var_from_{index,name} - Added C API function
tiledb_array_add_range_var - Added C API function
tiledb_array_get_range_var_size - Added C API function
tiledb_array_get_range_var - Added C++ API functions
Dimension::set_cell_val_numandDimension::cell_val_num. - Added C++ API functions
Dimension::set_filter_listandDimension::filter_list. - Added C++ API functions
Array::non_empty_domain(unsigned idx)andArray::non_empty_domain(const std::string& name). - Added C++ API functions
Domain::dimension(unsigned idx)andDomain::dimension(const std::string& name). - Added C++ API function
Array::load_schema(ctx, uri)andArray::load_schema(ctx, uri, key_type, key, key_len). - Added C++ API function
Array::vacuum. - Added C++ API functions
Array::non_empty_domain_var(from index and name). - Added C++ API function
add_rangewith string inputs. - Added C++ API function
rangewith string outputs. - Added C++ API functions
ArrayandContextconstructors which take a c_api object to wrap. #1623
API removals
TileDB v1.7.7 Release Notes
Bug fixes
- Fix expanded domain consolidation #1572
TileDB v1.7.6 Release Notes
New features
- Add MD5 and SHA256 checksum filters #1515
Improvements
- Added support for AWS Security Token Service session tokens via configuration option
vfs.s3.session_token. #1472
Deprecations
Bug fixes
- Fix new SHA1 for intel TBB in superbuild due to change in repository name #1551
API additions
API removals
TileDB v1.7.5 Release Notes
New features
Improvements
- Avoid useless serialization of Array Metadata on close #1485
- Update CONTRIBUTING and Code of Conduct #1487
Deprecations
Bug fixes
- Fix deadlock in writes of TileDB Cloud Arrays #1486
API additions
API removals
TileDB v1.7.4 Release Notes
New features
Improvements
- REST requests now will use http compression if available #1479
Deprecations
Bug fixes
API additions
API removals
TileDB v1.7.3 Release Notes
New features
Improvements
- Array metadata fetching is now lazy (fetch on use) to improve array open performance #1466
- libtiledb on Linux will no longer re-export symbols from statically linked dependencies #1461
Deprecations
Bug fixes
API additions
API removals
TileDB v1.7.2 Release Notes
TileDB 1.7.2 contains bug fixes and several internal optimizations.
New features
Improvements
- Added support for getting/setting array metadata via REST. #1449
Deprecations
Bug fixes
- Fixed several REST query and deserialization bugs. #1433, #1437, #1440, #1444
- Fixed bug in setting certificate path on Linux for the REST client. #1452
API additions
API removals
TileDB v1.7.1 Release Notes
TileDB 1.7.1 contains build system and bug fixes, and one non-breaking API update.
New features
Improvements
Deprecations
Bug fixes
- Fixed bug in dense consolidation when the array domain is not divisible by the tile extents. #1442
API additions
- Added C API function
tiledb_array_has_metadata_keyand C++ API functionArray::has_metadata_key#1439 - Added support for indicating zero-value metadata by returning
value_num== 1 from the_get_metadatataandArray::get_metadataAPIs #1438 (this is a non-breaking change, as the documented return ofvalue == nullptrto indicate missing keys does not change)`
API removals
TileDB v1.7.0 Release Notes
TileDB 1.7.0 contains the new feature of array metadata, and numerous bugfixes.
New features
- Added array metadata. #1377
Improvements
- Allow writes to older-versioned arrays. #1417
- Added overseen optimization to check the fragment non-empty domain before loading the fragment R-Tree. #1395
- Use
major.minorfor SOVERSION instead of fullmajor.minor.rev. #1398
Bug fixes
- Numerous query serialization bugfixes and performance improvements.
- Numerous tweaks to build strategy for libcurl dependency.
- Fix crash in StorageManager destructor when GlobalState init fails. #1393
- Fix Windows destructor crash due to missing unlock (mutex/refcount). #1400
- Normalize attribute names in multi-range size estimation C API. #1408
API additions
- Added C API functions
tiledb_query_get_{fragment_num,fragment_uri,fragment_timestamp_range}. #1396 - Added C++ API functions
Query::{fragment_num,fragment_uri,fragment_timestamp_range}. #1396 - Added C API function
tiledb_ctx_set_tagand C++ APIContext::set_tag(). #1406 - Add config support for S3 ca_path, ca_file, and verify_ssl options. #1376
API removals
- Removed key-value functionality,
tiledb_kv_*functions from the C API and Map and MapSchema from the C++ API. #1415
TileDB v1.6.3 Release Notes
Additions
- Added config param
vfs.s3.logging_level. #1236
Bug fixes
- Fixed FP slice point-query with small (eps) gap coordinates. #1384
- Fixed several unused variable warnings in unit tests. #1385
- Fixed missing include in
subarray.h. #1374 - Fixed missing virtual destructor in C++ API
schema.h. #1391 - Fixed C++ API build error with clang regarding deleted default constructors. #1394
TileDB v1.6.2 Release Notes
Bug fixes
- Fix incorrect version number listed in
tiledb_version.hheader file and doc page. - Fix issue with release notes from 1.6.0 release. #1359
TileDB v1.6.1 Release Notes
Bug fixes
- Bug fix in incomplete query behavior. #1358
TileDB v1.6.0 Release Notes
The 1.6.0 release adds the major new feature of non-continuous range slicing, as well as a number of stability and usability improvements. Support is also introduced for datetime dimensions and attributes.
New features
- Added support for multi-range reads (non-continuous range slicing) for dense and sparse arrays.
- Added support for datetime domains and attributes.
Improvements
- Removed fragment metadata caching. #1197
- Removed array schema caching. #1197
- The tile MBR in the in-memory fragment metadata are organized into an R-Tree, speeding up tile overlap operations during subarray reads. #1197
- Improved encryption key validation process when opening already open arrays. Fixes issue with indefinite growing of the URI to encryption key mapping in
StorageManager(the mapping is no longer needed). #1197 - Improved dense write performance in some benchmarks. #1229
- Support for direct writes without using the S3 multi-part API. Allows writing to Google Cloud Storage S3 compatibility mode. #1219
- Removed 256-character length limit from URIs. #1288
- Dense reads and writes now always require a subarray to be set, to avoid confusion. #1320
- Added query and array schema serialization API. #1262
Deprecations
- The TileDB KV API has been deprecated and will be removed entirely in a future release. The KV mechanism will be removed when full support for string-valued dimensions has been added.
Bug fixes
- Bug fix with amplification factor in consolidation. #1275
- Fixed thread safety issue in opening arrays. #1252
- Fixed floating point exception when writing fixed-length attributes with a large cell value number. #1289
- Fixed off-by-one limitation with floating point dimension tile extents. #1314
API additions
C API
- Added functions
tiledb_query_{get_est_result_size, get_est_result_size_var, add_range, get_range_num, get_range}. - Added function
tiledb_query_get_layout - Added datatype
tiledb_buffer_tand functionstiledb_buffer_{alloc,free,get_type,set_type,get_data,set_data}. - Added datatype
tiledb_buffer_list_tand functionstiledb_buffer_list_{alloc,free,get_num_buffers,get_total_size,get_buffer,flatten}. - Added string conversion functions
tiledb_*_to_str()andtiledb_*_from_str()for all public enum types. - Added config param
vfs.file.enable_filelocks - Added datatypes
TILEDB_DATETIME_* - Added function
tiledb_query_get_array
C++ API
- Added functions
Query::{query_layout, add_range, range, range_num, array}.
Breaking changes
C API
- Removed ability to set
nulltile extents on dimensions. All dimensions must now have an explicit tile extent.
C++ API
- Removed cast operators of C++ API objects to their underlying C API objects. This helps prevent inadvertent memory issues such as double-frees.
- Removed ability to set
nulltile extents on dimensions. All dimensions must now have an explicit tile extent. - Changed argument
configinArray::consolidate()from a const-ref to a pointer. - Removed default includes of
MapandMapSchema. To use the deprecated KV API temporarily, include<tiledb/map.h>explicitly.
TileDB v1.5.1 Release Notes
Improvements
- Better handling of
{C,CXX}FLAGSduring the build. #1209 - Update libcurl dependency to v7.64.1 for S3 builds. #1240
Bug fixes
- S3 SDK build error fix. #1201
- Fixed thread safety issue with ZStd compressor. #1208
- Fixed crash in consolidation due to accessing invalid entry #1213
- Fixed memory leak in C++ KV API. #1247
- Fixed minor bug when writing in global order with empty buffers. #1248
TileDB v1.5.0 Release Notes
The 1.5.0 release focuses on stability, performance, and usability improvements, as well a new consolidation algorithm.
New features
- Added an advanced, tunable consolidation algorithm. #1101
Improvements
- Small tiles are now batched for larger VFS read operations, improving read performance in some cases. #1093
- POSIX error messages are included in log messages. #1076
- Added
tiledbcommand-line tool with several supported actions. #1081 - Added build flag to disable internal statistics. #1111
- Improved memory overhead slightly by lazily allocating memory before checking the tile cache. #1141
- Improved tile cache utilization by removing erroneous use of cache for metadata. #1151
- S3 multi-part uploads are aborted on error. #1166
Bug fixes
- Bug fix when reading from a sparse array with real domain. Also added some checks on NaN and INF. #1100
- Fixed C++ API functions
group_by_cellandungroup_var_bufferto treat offsets in units of bytes. #1047 - Several HDFS test build errors fixed. #1092
- Fixed incorrect indexing in
parallel_for. #1105 - Fixed incorrect filter statistics counters. #1112
- Preserve anonymous attributes in
ArraySchemacopy constructor. #1144 - Fix non-virtual destructors in C++ API. #1153
- Added zlib dependency to AWS SDK EP. #1165
- Fixed a hang in the 'S3::ls()'. #1183
- Many other small and miscellaneous bug fixes.
API additions
C API
- Added function
tiledb_vfs_dir_size. - Added function
tiledb_vfs_ls. - Added config params
vfs.max_batch_read_sizeandvfs.max_batch_read_amplification. - Added functions
tiledb_{array,kv}_encryption_type. - Added functions
tiledb_stats_{dump,free}_str. - Added function
tiledb_{array,kv}_schema_has_attribute. - Added function
tiledb_domain_has_dimension.
C++ API
{Array,Map}::consolidate{_with_key}now takes aConfigas an optional argument.- Added function
VFS::dir_size. - Added function
VFS::ls. - Added
{Array,Map}::encryption_type(). - Added
{ArraySchema,MapSchema}::has_attribute() - Added
Domain::has_dimension() - Added constructor overloads for
ArrayandMapto take astd::stringencryption key. - Added overloads for
{Array,Map}::{open,create,consolidate}to take astd::stringencryption key. - Added untyped overloads for
Query::set_buffer().
Breaking changes
C API
- Deprecated
tiledb_compressor_tAPIs from v1.3.x have been removed, replaced by thetiledb_filter_listAPI. #1128 tiledb_{array,kv}_consolidate{_with_key}now takes atiledb_config_t*as argument.
C++ API
- Deprecated
tiledb::CompressorAPIs from v1.3.x have been removed, replaced by theFilterListAPI. #1128
TileDB v1.4.2 Release Notes
Bug fixes
- Fixed support for config parameter values
sm.num_reader_threadsand `sm.num_writer_threads. User-specified values had been ignored for these parameters. #1096 - Fixed GCC 7 linker errors. #1091
- Bug fix in the case of dense reads in the presence of both dense and sparse fragments. #1079
- Fixed double-delta decompression bug on reads for uncompressible chunks. #1074
- Fixed unnecessary linking of shared zlib when using TileDB superbuild. #1125
Improvements
- Added lazy creation of S3 client instance on first request. #1084
- Added config params
vfs.s3.aws_access_key_idandvfs.s3.aws_secret_access_keyfor configure s3 access at runtime. #1036 - Added missing check if coordinates obey the global order in global order sparse writes. #1039
TileDB v1.4.1 Release Notes
Bug fixes
- Fixed bug in incomplete queries, which should always return partial results. An incomplete status with 0 returned results must always mean that the buffers cannot even fit a single cell value. #1056
- Fixed performance bug during global order write finalization. #1065
- Fixed error in linking against static TileDB on Windows. #1058
- Fixed build error when building without TBB. #1051
Improvements
- Set LZ4, Zlib and Zstd compressors to build in release mode. #1034
- Changed coordinates to always be split before filtering. #1054
- Added type-safe filter option methods to C++ API. #1062
TileDB v1.4.0 Release Notes
The 1.4.0 release brings two new major features, attribute filter lists and at-rest array encryption, along with bugfixes and performance improvements.
Note: TileDB v1.4.0 changes the on-disk array format. Existing arrays should be re-written using TileDB v1.4.0 before use. Starting from v1.4.0 and on, backwards compatibility for reading old-versioned arrays will be fully supported.
New features
- All array data can now be encrypted at rest using AES-256-GCM symmetric encryption. #968
- Negative and real-valued domain types are now fully supported. #885
- New filter API for transforming attribute data with an ordered list of filters. #912
- Current filters include: previous compressors, bit width reduction, bitshuffle, byteshuffle, and positive-delta encoding.
- The bitshuffle filter uses an implementation by Kiyoshi Masui.
- The byteshuffle filter uses an implementation by Francesc Alted (from the Blosc project).
- Arrays can now be opened at specific timestamps. #984
Deprecations
- The C and C++ APIs for compression have been deprecated. The corresponding filter API should be used instead. The compression API will be removed in a future TileDB version. #1008
- Removed Blosc compressors (obviated by byteshuffle -> compressor filter list).
Bug fixes
- Fix issue where performing a read query with empty result could cause future reads to return empty #882
- Fix TBB initialization bug with multiple contexts #898
- Fix bug in max buffer sizes estimation #903
- Fix Buffer allocation size being incorrectly set on realloc #911
Improvements
- Added check if the coordinates fall out-of-bounds (i.e., outside the array domain) during sparse writes, and added config param
sm.check_coord_oobto enable/disable the check (enabled by default). #996 - Add config params
sm.num_reader_threadsandsm.num_writer_threadsfor separately controlling I/O parallelism from compression parallelism. - Added contribution guidelines #899
- Enable building TileDB in Cygwin environment on Windows #890
- Added a simple benchmarking script and several benchmark programs #889
- Changed C API and disk format integer types to have explicit bit widths. #981
API additions
C API
- Added
tiledb_{array,kv}_open_at,tiledb_{array,kv}_open_at_with_keyandtiledb_{array,kv}_reopen_at. - Added
tiledb_{array,kv}_get_timestamp(). - Added
tiledb_kv_is_open - Added
tiledb_filter_ttiledb_filter_type_t,tiledb_filter_option_t, andtiledb_filter_list_ttypes - Added
tiledb_filter_*andtiledb_filter_list_*functions. - Added
tiledb_attribute_{set,get}_filter_list,tiledb_array_schema_{set,get}_coords_filter_list,tiledb_array_schema_{set,get}_offsets_filter_listfunctions. - Added
tiledb_query_get_bufferandtiledb_query_get_buffer_var. - Added
tiledb_array_get_uri - Added
tiledb_encryption_type_t - Added
tiledb_array_create_with_key,tiledb_array_open_with_key,tiledb_array_schema_load_with_key,tiledb_array_consolidate_with_key - Added
tiledb_kv_create_with_key,tiledb_kv_open_with_key,tiledb_kv_schema_load_with_key,tiledb_kv_consolidate_with_key
C++ API
- Added encryption overloads for
Array(),Array::open(),Array::create(),ArraySchema(),Map(),Map::open(),Map::create()andMapSchema(). - Added
Array::timestamp()andArray::reopen_at()methods. - Added
FilterandFilterListclasses - Added
Attribute::filter_list(),Attribute::set_filter_list(),ArraySchema::coords_filter_list(),ArraySchema::set_coords_filter_list(),ArraySchema::offsets_filter_list(),ArraySchema::set_offsets_filter_list()functions. - Added overloads for
Array(),Array::open(),Map(),Map::open()for handling timestamps.
Breaking changes
C API
- Removed Blosc compressors.
- Removed
tiledb_kv_set_max_buffered_items. - Modified
tiledb_kv_opento not take an attribute subselection, but instead take as input the query type (similar to arrays). This makes the key-value store behave similarly to arrays, which means that the key-value store does not support interleaved reads/writes any more (an opened key-value store is used either for reads or writes, but not both). tiledb_kv_closedoes not flush the written items. Instead,tiledb_kv_flushmust be invoked explicitly.
C++ API
- Removed Blosc compressors.
- Removed
Map::set_max_buffered_items. - Modified
Map::MapandMap::opento not take an attribute subselection, but instead take as input the query type (similar to arrays). This makes the key-value store behave similarly to arrays, which means that the key-value store does not support interleaved reads/writes any more (an opened key-value store is used either for reads or writes, but not both). Map::closedoes not flush the written items. Instead,Map::flushmust be invoked explicitly.
TileDB v1.3.2 Release Notes
Bug fixes
- Fix read query bug from multiple fragments when query layout differs from array layout #869
- Fix error when consolidating empty arrays #861
- Fix bzip2 external project URL #875
- Invalidate cached buffer sizes when query subarray changes #882
Improvements
- Add check to ensure tile extent greater than zero #866
- Add
TILEDB_INSTALL_LIBDIRCMake option #858 - Remove
TILEDB_USE_STATIC_*CMake variables from build #871 - Allow HDFS init to succeed even if libhdfs is not found #873
TileDB v1.3.1 Release Notes
Bug fixes
- Add missing checks when setting subarray for sparse writes #843
- Fix dl linking build issue for C/C++ examples on Linux #844
- Add missing type checks for C++ api Query object #845
- Add missing check that coordinates are provided for sparse writes #846
Improvements
TileDB v1.3.0 Release Notes
Version 1.3.0 focused on performance, stability, documentation and API improvements/enhancements.
New features
- New guided tutorial series added to documentation.
- Query times improved dramatically with internal parallelization using TBB (multiple PRs)
- Optional deduplication pass on writes can be enabled #636
- New internal statistics reporting system to aid in performance optimization #736
- Added string type support: ASCII, UTF-8, UTF-16, UTF-32, UCS-2, UCS-4 #415
- Added
TILEDB_ANYdatatype #446 - Added parallelized VFS read operations, enabled by default #499
- SIGINT signals will cancel in-progress queries #578
Improvements
- Arrays must now be open and closed before issuing queries, which clarifies the TileDB consistency model.
- Improved handling of incomplete queries and variable-length attribute data.
- Added parallel S3, POSIX, and Win32 reads and writes, enabled by default.
- Query performance improvements with parallelism (using TBB as a dependency).
- Got rid of special S3 "directory objects."
- Refactored sparse reads, making them simpler and more amenable to parallelization.
- Refactored dense reads, making them simpler and more amenable to parallelization.
- Refactored dense ordered writes, making them simpler and more amenable to parallelization.
- Refactored unordered writes, making them simpler and more amenable to parallelization.
- Refactored global writes, making them simpler and more amenable to parallelization.
- Added ability to cancel pending background/async tasks. SIGINT signals now cancel pending tasks.
- Async queries now use a configurable number of background threads (default number of threads is 1).
- Added checks for duplicate coordinates and option for coordinate deduplication.
- Map usage via the C++ API
operator[]is faster, similar to theMapItempath.
Bug Fixes
- Fixed bugs with reads/writes of variable-sized attributes.
- Fixed file locking issue with simultaneous queries.
- Fixed S3 issues with simultaneous queries within the same context.
API additions
C API
- Added
tiledb_array_alloc - Added
tiledb_array_{open, close, free} - Added
tiledb_array_reopen - Added
tiledb_array_is_open - Added
tiledb_array_get_query_type - Added
tiledb_array_get_schema - Added
tiledb_array_max_buffer_sizeandtiledb_array_max_buffer_size_var - Added
tiledb_query_finalizefunction. - Added
tiledb_ctx_cancel_tasksfunction. - Added
tiledb_query_set_bufferandtiledb_query_set_buffer_varwhich sets a single attribute buffer - Added
tiledb_query_get_type - Added
tiledb_query_has_results - Added
tiledb_vfs_get_configfunction. - Added
tiledb_stats_{enable,disable,reset,dump}functions. - Added
tiledb_kv_alloc - Added
tiledb_kv_reopen - Added
tiledb_kv_has_keyto check if a key exists in the key-value store. - Added
tiledb_kv_free. - Added
tiledb_kv_iter_allocwhich takes as input a kv object - Added
tiledb_kv_schema_{set,get}_capacity. - Added
tiledb_kv_is_dirty - Added
tiledb_kv_iter_reset - Added
sm.num_async_threads,sm.num_tbb_threads, andsm.enable_signal_handlersconfig parameters. - Added
sm.check_dedup_coordsandsm.dedup_coordsconfig parameters. - Added
vfs.num_threadsandvfs.min_parallel_sizeconfig parameters. - Added
vfs.{s3,file}.max_parallel_opsconfig parameters. - Added
vfs.s3.multipart_part_sizeconfig parameter. - Added
vfs.s3.proxy_{scheme,host,port,username,password}config parameters.
C++ API
- Added
Array::{open, close} - Added
Array::reopen - Added
Array::is_open - Added
Array::query_type - Added
Context::cancel_tasks()function. - Added
Query::finalize()function. - Added
Query::query_type - Added
Query::has_results - Changed the return type of the
Querysetters to return the object reference. - Added an extra
Queryconstructor that omits the query type (this is inherited from the input array). - Added
Map::{open, close} - Added
Map::reopen - Added
Map::is_dirty - Added
Map::has_keyto check for key presence. - A
tiledb::Mapdefined with only one attribute will allow implicit usage, e.x.map[key] = valinstead ofmap[key][attr] = val. - Added optional attributes argument in
Map::MapandMap::open MapItercan be used to create iterators for a map.- Added
MapIter::reset - Added
MapSchema::set_capacityandMapSchema::capacity - Support for trivially copyable objects, such as a custom data struct, was added. They will be backed by an
sizeof(T)sizedcharattribute. Attribute::create<T>can now be used with compoundT, such asstd::stringandstd::vector<T>, and other objects such as a simple data struct.- Added a
Dimension::createfactory function that does not take tile extent, which sets the tile extent toNULL. tiledb::Attributecan now be constructed with an enumerated type (e.x.TILEDB_CHAR).- Added
Statsclass (wraps C APItiledb_stats_*functions) - Added
Config::save_to_file
Breaking changes
C API
tiledb_query_finalizemust always be called beforetiledb_query_freeafter global-order writes.- Removed
tiledb_vfs_moveand addedtiledb_vfs_move_fileandtiledb_vfs_move_dirinstead. - Removed
forceargument fromtiledb_vfs_move_*andtiledb_object_move. - Removed
vfs.s3.file_buffer_sizeconfig parameter. - Removed
tiledb_query_get_attribute_status. - All
tiledb_*_freefunctions now returnvoidand do not takectxas input (except fortiledb_ctx_free). - Changed signature of
tiledb_kv_closeto take atiledb_kv_t*argument instead oftiledb_kv_t**. - Renamed
tiledb_domain_get_ranktotiledb_domain_get_ndimto avoid confusion with matrix def of rank. - Changed signature of
tiledb_array_get_non_empty_domain. - Removed
tiledb_array_compute_max_read_buffer_sizes. - Changed signature of
tiledb_{array,kv}_open. - Removed
tiledb_kv_iter_create - Renamed all C API functions that create TileDB objects from
tiledb_*_createtotiledb_*_alloc. - Removed
tiledb_query_set_buffers - Removed
tiledb_query_reset_buffers - Added query type argument to
tiledb_array_open - Changed argument order in
tiledb_config_iter_alloc,tiledb_ctx_alloc,tiledb_attribute_alloc,tiledb_dimension_alloc,tiledb_array_schema_alloc,tiledb_kv_schema_load,tiledb_kv_get_item,tiledb_vfs_alloc
C++ API
- Fixes with
Array::max_buffer_elementsandQuery::result_buffer_elementsto comply with the API docs.pair.firstis the number of elements of the offsets buffer. Ifpair.firstis 0, it is a fixed-sized attribute or coordinates. std::array<T, N>is backed by achartiledb attribute since the size is not guaranteed.- Headers have the
tiledb_cpp_api_prefix removed. For example, the include is now#include <tiledb/attribute.h> - Removed
VFS::moveand addedVFS::move_fileandVFS::move_dirinstead. - Removed
forceargument fromVFS::move_*andObject::move. - Removed
vfs.s3.file_buffer_sizeconfig parameter. Query::finalizemust always be called before going out of scope after global-order writes.- Removed
Query::attribute_status. - The API was made header only to improve cross-platform compatibility.
config_iter.h,filebuf.h,map_item.h,map_iter.h, andmap_proxy.hare no longer available, but grouped into the headers of the objects they support. - Previously a
tiledb::Mapcould be created from astd::map, an anonymous attribute name was defined. This must now be explicitly defined:tiledb::Map::create(tiledb::Context, std::string uri, std::map, std::string attr_name) - Removed
tiledb::Query::reset_buffers. Any previous usages can safely be removed. Map::beginrefers to the same iterator object. For multiple concurrent iterators, aMapItershould be manually constructed instead of usingMap::begin()more than once.- Renamed
Domain::ranktoDomain::ndimto avoid confusion with matrix def of rank. - Added query type argument to
Arrayconstructor - Removed iterator functionality from
Map. - Removed
Array::parition_subarray.
TileDB v1.2.2 Release Notes
Bug fixes
- Fix I/O bug on POSIX systems with large reads/writes (#467)
- Memory overflow error handling (moved from constructors to init functions) (#472)
- Memory leaks with realloc in case of error (#472)
- Handle non-existent config param in C++ API (#475)
- Read query overflow handling (#485)
Improvements
- Changed S3 default config so that AWS S3 just works (#455)
- Minor S3 optimizations and error message fixes (#462)
- Documentation additions including S3 usage (#456, #458, #459)
- Various CI improvements (#449)
TileDB v1.2.1 Release Notes
Bug fixes
- Fixed TileDB header includes for all examples (#409)
- Fixed TileDB library dynamic linking problem for C++ API (#412)
- Fixed VS2015 build errors (#424)
- Bug fix in the sparse case (#434)
- Bug fix for 1D vector query layout (#438)
Improvements
- Added documentation to API and examples (#410, #414)
- Migrated docs to Readthedocs (#418, #420, #422, #423, #425)
- Added dimension domain/tile extent checks (#429)
TileDB v1.2.0 Release Notes
The 1.2.0 release of TileDB includes many new features, improvements in stability and performance, and two new language interfaces (Python and C++). There are also several breaking changes in the C API and on-disk format, documented below.
Important Note: due to several improvements and changes in the underlying array storage mechanism, you will need to recreate any existing arrays in order to use them with TileDB v1.2.0.
New features
- Windows support. TileDB is now fully supported on Windows systems (64-bit Windows 7 and newer).
- Python API. We are very excited to announce the initial release of a Python API for TileDB. The Python API makes TileDB accessible to a much broader audience, allowing seamless integration with existing Python libraries such as NumPy, Pandas and the scientific Python ecosystem.
- C++ API. We've included a C++ API, which allows TileDB to integrate into modern C++ applications without having to write code towards the C API. The C++ API is more concise and provides additional compile time type safety.
- S3 object store support. You can now easily store, query, and manipulate your TileDB arrays on S3 API compatibile object stores, including Amazon's AWS S3 service.
- Virtual filesystem interface. The TileDB API now exposes a virtual filesystem (or VFS) interface, allowing you to perform tasks such as file creation, deletion, reads, and appends without worrying about whether your files are stored on S3, HDFS, a POSIX or Windows filesystem, etc.
- Key-value store. TileDB now provides a key-value (meta) data storage abstraction. Its implementation is built upon TileDB's sparse arrays and inherits all the properties of TileDB sparse arrays.
Improvements
- Homebrew formula added for easier installation on macOS. Homebrew is now the perferred method for installing TileDB and its dependencies on macOS.
- Docker images updated to include stable/unstable/dev options, and easy configuration of additional components (e.g. S3 support).
- Tile cache implemented, which will greatly speed up repeated queries on overlapping regions of the same array.
- Ability to pass runtime configuration arguments to TileDB/VFS backends.
- Unnamed (or "anonymous") dimensions are now supported; having a single anonymous attribute is also supported.
- Concurrency bugfixes for several compressors.
- Correctness issue fixed in double-delta compressor for some datatypes.
- Better build behavior on systems with older GCC or CMake versions.
- Several memory leaks and overruns fixed with help of sanitizers.
- Many improved error condition checks and messages for easier debugging.
- Many other small bugs and API inconsistencies fixed.
C API additions
tiledb_config_*: Types and functions related to the new configuration object and functionality.tiledb_config_iter_*: Iteration functionality for retieving parameters/values from the new configuration object.tiledb_ctx_get_config(): Function to get a configuration from a context.tiledb_filesystem_t: Filesystem type enum.tiledb_ctx_is_supported_fs(): Function to check for support for a given filesystem backend.tiledb_error_t,tiledb_error_message()andtiledb_error_free(): Type and functions for TileDB error messages.tiledb_ctx_get_last_error(): Function to get last error from context.tiledb_domain_get_rank(): Function to retrieve number of dimensions in a domain.tiledb_domain_get_dimension_from_index()andtiledb_domain_get_dimension_from_name(): Replaces dimension iterators.tiledb_dimension_{create,free,get_name,get_type,get_domain,get_tile_extent}(): Functions related to creation and manipulation oftiledb_dimension_tobjects.tiledb_array_schema_set_coords_compressor(): Function to set the coordinates compressor.tiledb_array_schema_set_offsets_compressor(): Function to set the offsets compressor.tiledb_array_schema_get_attribute_{num,from_index,from_name}(): Replaces attribute iterators.tiledb_query_create(): Replaced many arguments with newtiledb_query_set_*()setter functions.tiledb_array_get_non_empty_domain(): Function to retrieve the non-empty domain from an array.tiledb_array_compute_max_read_buffer_sizes(): Function to compute an upper bound on the buffer sizes required for a read query.tiledb_object_ls(): Function to visit the children of a path.tiledb_uri_to_path(): Function to convert a file:// URI to a platform-native path.TILEDB_MAX_PATHandtiledb_max_path(): The maximum length for tiledb resource paths.tiledb_kv_*: Types and functions related to the new key-value store functionality.tiledb_vfs_*: Types and functions related to the new virtual filesystem (VFS) functionality.
Breaking changes
C API
- Rename
tiledb_array_metadata_t->tiledb_array_schema_t, and associatedtiledb_array_metadata_*functions totiledb_array_schema_*. - Remove
tiledb_attribute_iter_t. - Remove
tiledb_dimension_iter_t. - Rename
tiledb_delete(),tiledb_move(),tiledb_walk()totiledb_object_{delete,move,walk}(). tiledb_ctx_create: Config argument added.tiledb_domain_create: Datatype argument removed.tiledb_domain_add_dimension: Name, domain and tile extent arguments replaced with singletiledb_dimension_targument.tiledb_query_create(): Replaced many arguments with newtiledb_query_set_*()setter functions.tiledb_array_create(): Added array URI argument.tiledb_*_free(): All free functions now take a pointer to the object pointer instead of simply object pointer.- The include files are now installed into a
tiledbfolder. The correct path is now#include <tiledb/tiledb.h>(or#include <tiledb/tiledb>for the C++ API).
Resource Management
- Support for moving resources across previous VFS backends (local fs <-> HDFS) has been removed. A more generic implementation for this functionality with improved performance is planned for the next version of TileDB.