Skip to content

Commit

Permalink
v2.22.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Apr 12, 2024
1 parent 6c9670c commit 0d92338
Show file tree
Hide file tree
Showing 42 changed files with 62 additions and 4 deletions.
19 changes: 19 additions & 0 deletions include/tiledb/api/c_api/config/config_api_external.h
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,25 @@ TILEDB_EXPORT void tiledb_config_free(tiledb_config_t** config) TILEDB_NOEXCEPT;
* - `vfs.gcs.project_id` <br>
* Set the GCS project id. <br>
* **Default**: ""
* - `vfs.gcs.service_account_key` <br>
* **Experimental** <br>
* Set the JSON string with GCS service account key. Takes precedence
* over `vfs.gcs.workload_identity_configuration` if both are specified. If
* neither is specified, Application Default Credentials will be used. <br>
* **Default**: ""
* - `vfs.gcs.workload_identity_configuration` <br>
* **Experimental** <br>
* Set the JSON string with Workload Identity Federation configuration.
* `vfs.gcs.service_account_key` takes precedence over this if both are
* specified. If neither is specified, Application Default Credentials will
* be used. <br>
* **Default**: ""
* - `vfs.gcs.impersonate_service_account` <br>
* **Experimental** <br>
* Set the GCS service account to impersonate. A chain of impersonated
* accounts can be formed by specifying many service accounts, separated by a
* comma. <br>
* **Default**: ""
* - `vfs.gcs.multi_part_size` <br>
* The part size (in bytes) used in GCS multi part writes.
* Any `uint64_t` value is acceptable. Note:
Expand Down
21 changes: 21 additions & 0 deletions include/tiledb/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,25 @@ class Config {
* - `vfs.gcs.project_id` <br>
* Set the GCS project id. <br>
* **Default**: ""
* - `vfs.gcs.service_account_key` <br>
* **Experimental** <br>
* Set the JSON string with GCS service account key. Takes precedence
* over `vfs.gcs.workload_identity_configuration` if both are specified. If
* neither is specified, Application Default Credentials will be used. <br>
* **Default**: ""
* - `vfs.gcs.workload_identity_configuration` <br>
* **Experimental** <br>
* Set the JSON string with Workload Identity Federation configuration.
* `vfs.gcs.service_account_key` takes precedence over this if both are
* specified. If neither is specified, Application Default Credentials will
* be used. <br>
* **Default**: ""
* - `vfs.gcs.impersonate_service_account` <br>
* **Experimental** <br>
* Set the GCS service account to impersonate. A chain of impersonated
* accounts can be formed by specifying many service accounts, separated by
* a comma. <br>
* **Default**: ""
* - `vfs.gcs.multi_part_size` <br>
* The part size (in bytes) used in GCS multi part writes.
* Any `uint64_t` value is acceptable. Note:
Expand Down Expand Up @@ -817,10 +836,12 @@ class Config {
* together with the open array <br>
* **Default**: true
* - `rest.use_refactored_array_open` <br>
* **Experimental** <br>
* If true, the new, experimental REST routes and APIs for opening an array
* will be used <br>
* **Default**: false
* - `rest.use_refactored_array_open_and_query_submit` <br>
* **Experimental** <br>
* If true, the new, experimental REST routes and APIs for opening an array
* and submitting a query will be used <br>
* **Default**: false
Expand Down
8 changes: 7 additions & 1 deletion include/tiledb/exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* The MIT License
*
* @copyright Copyright (c) 2017-2021 TileDB, Inc.
* @copyright Copyright (c) 2017-2024 TileDB, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -90,6 +90,12 @@ inline void type_check(tiledb_datatype_t type, unsigned num = 0) {
"type (" +
impl::type_to_str(type) + ")");
}
} else if (tiledb_byte_type(type)) {
if (!std::is_same<T, std::byte>::value) {
throw TypeError(
"Static type does not match expected container type std::byte for "
"tiledb byte type");
}
} else if (tiledb_datetime_type(type)) {
if (!std::is_same<T, int64_t>::value) {
throw TypeError(
Expand Down
1 change: 1 addition & 0 deletions include/tiledb/tiledb_experimental
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
#include "query_condition_experimental.h"
#include "query_experimental.h"
#include "subarray_experimental.h"
#include "vfs_experimental.h"

#endif // TILEDB_EXPERIMENTAL_CPP_H
4 changes: 2 additions & 2 deletions include/tiledb/tiledb_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
*/

#define TILEDB_VERSION_MAJOR 2
#define TILEDB_VERSION_MINOR 21
#define TILEDB_VERSION_PATCH 2
#define TILEDB_VERSION_MINOR 22
#define TILEDB_VERSION_PATCH 0
13 changes: 12 additions & 1 deletion include/tiledb/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* The MIT License
*
* @copyright Copyright (c) 2017-2023 TileDB, Inc.
* @copyright Copyright (c) 2017-2024 TileDB, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -294,6 +294,17 @@ inline bool tiledb_string_type(tiledb_datatype_t type) {
}
}

inline bool tiledb_byte_type(tiledb_datatype_t type) {
switch (type) {
case TILEDB_BLOB:
case TILEDB_GEOM_WKB:
case TILEDB_GEOM_WKT:
return true;
default:
return false;
}
}

inline bool tiledb_datetime_type(tiledb_datatype_t type) {
switch (type) {
case TILEDB_DATETIME_YEAR:
Expand Down
Binary file modified lib/x64-ucrt/libaws-c-auth.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-c-cal.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-c-common.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-c-compression.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-c-event-stream.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-c-http.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-c-io.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-c-mqtt.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-c-s3.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-c-sdkutils.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-checksums.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-cpp-sdk-access-management.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-cpp-sdk-cognito-identity.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-cpp-sdk-core.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-cpp-sdk-iam.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-cpp-sdk-identity-management.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-cpp-sdk-s3.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-cpp-sdk-sts.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libaws-crt-cpp.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libbz2.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libfmt.a
Binary file not shown.
Binary file modified lib/x64-ucrt/liblibmagic.a
Binary file not shown.
Binary file modified lib/x64-ucrt/liblz4.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libpcre2-16.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libpcre2-32.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libpcre2-8.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libpcre2-posix.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libsharpyuv.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libspdlog.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libtiledbstatic.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libwebp.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libwebpdecoder.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libwebpdemux.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libwebpmux.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libzlib.a
Binary file not shown.
Binary file modified lib/x64-ucrt/libzstd.a
Binary file not shown.

0 comments on commit 0d92338

Please sign in to comment.