Skip to content

Commit 196813a

Browse files
committed
Try fix build
1 parent 16b3e0a commit 196813a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Storages/ObjectStorage/DataLakes/DeltaLakeMetadata.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ class DeltaLakeMetadata final : public IDataLakeMetadata
5757
{
5858
#if USE_DELTA_KERNEL_RS
5959
auto configuration_ptr = configuration.lock();
60-
const auto & settings_ref = configuration_ptr->getSettingsRef();
61-
if (settings_ref[StorageObjectStorageSetting::allow_experimental_delta_kernel_rs])
60+
const auto & query_settings_ref = local_context->getSettingsRef();
61+
62+
bool enable_delta_kernel = query_settings_ref[Setting::allow_experimental_delta_kernel_rs];
63+
if (enable_delta_kernel)
6264
return std::make_unique<DeltaLakeMetadataDeltaKernel>(
6365
object_storage,
6466
configuration,

0 commit comments

Comments
 (0)