From d31e8304cb2dd057990fd6c1bbd1aa4941a51421 Mon Sep 17 00:00:00 2001 From: N-o-Z Date: Tue, 12 Mar 2024 11:52:04 +0200 Subject: [PATCH] Fix delta export azure example (#7546) --- examples/hooks/delta_lake_azure_export.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hooks/delta_lake_azure_export.lua b/examples/hooks/delta_lake_azure_export.lua index ea356f0e600..0c2f4233951 100644 --- a/examples/hooks/delta_lake_azure_export.lua +++ b/examples/hooks/delta_lake_azure_export.lua @@ -16,7 +16,7 @@ local function write_object(_, key, buf) return sc.put_object(key,buf) end local delta_client = formats.delta_client(args.lakefs.access_key_id, args.lakefs.secret_access_key) -local delta_table_details = delta_exporter.export_delta_log(action, args.table_names, write_object, delta_client, table_descriptors_path) +local delta_table_details = delta_exporter.export_delta_log(action, args.table_defs, write_object, delta_client, table_descriptors_path) for t, details in pairs(delta_table_details) do print("Delta Lake exported table \"" .. t .. "\"'s location: " .. details["path"] .. "\n")