From 34aa962596fd95705fcd9d5e67e87aed3b3ee70d Mon Sep 17 00:00:00 2001 From: bigdata2learn Date: Thu, 17 Nov 2022 23:34:01 +0100 Subject: [PATCH] updated the correct path dbfs:/public/retail_db/orders --- 05 Using COPY Command to Copy Data into Delta Tables.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/05 Using COPY Command to Copy Data into Delta Tables.sql b/05 Using COPY Command to Copy Data into Delta Tables.sql index f5c9490..30f929c 100644 --- a/05 Using COPY Command to Copy Data into Delta Tables.sql +++ b/05 Using COPY Command to Copy Data into Delta Tables.sql @@ -23,7 +23,7 @@ COPY INTO retail_db.orders FROM ( SELECT order_id::int order_id, order_date::string order_date, order_customer_id::int order_customer_id, order_status::string order_status - FROM 'dbfs:/public/retail_db_json/orders' + FROM 'dbfs:/public/retail_db/orders' ) FILEFORMAT = JSON; @@ -35,6 +35,6 @@ FROM ( SELECT order_item_id::int order_item_id, order_item_order_id::int order_item_order_id, order_item_product_id::int order_item_product_id, order_item_quantity::int order_item_quantity, order_item_subtotal::float order_item_subtotal, order_item_product_price::float order_item_product_price - FROM 'dbfs:/public/retail_db_json/order_items' + FROM 'dbfs:/public/retail_db/order_items' ) FILEFORMAT = JSON;