We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e6c14 commit 748eaeaCopy full SHA for 748eaea
tiledb/sm/serialization/array_schema.cc
@@ -1909,7 +1909,9 @@ void serialize_load_array_schema_request(
1909
LoadArraySchemaRequest load_array_schema_request_from_capnp(
1910
capnp::LoadArraySchemaRequest::Reader& reader) {
1911
tdb_unique_ptr<Config> decoded_config = nullptr;
1912
- throw_if_not_ok(config_from_capnp(reader.getConfig(), &decoded_config));
+ if (reader.hasConfig()) {
1913
+ throw_if_not_ok(config_from_capnp(reader.getConfig(), &decoded_config));
1914
+ }
1915
// We intentionally do not use the includeEnumerations field, as it is stored
1916
// in the Config and set using the LoadArraySchemaRequest constructor.
1917
return LoadArraySchemaRequest(*decoded_config);
0 commit comments