diff --git a/Getting_Started/Data_Loading/Data_Loading_SQL.ipynb b/Getting_Started/Data_Loading/Data_Loading_SQL.ipynb index 6d939d2b..111fcbeb 100644 --- a/Getting_Started/Data_Loading/Data_Loading_SQL.ipynb +++ b/Getting_Started/Data_Loading/Data_Loading_SQL.ipynb @@ -187,7 +187,8 @@ "

CREATE AUTHORIZATION {name} AS DEFINER TRUSTED
\n", "USER '{access_key}'
\n", "PASSWORD '{password}';
\n", - "

\n" + "

\n", + "

For public buckets we dont need any authorizationn. For our example we have a public read-only bucket hence we won't need authorization in queries below.

" ] }, { @@ -206,7 +207,7 @@ "
  • \"/gs\" - to access files in google cloud storage, used below
  • \n", "
  • \"/s3\" - to access AWS buckets (Used in the UseCases/Deep_History_via_Object_Store)
  • \n", "
  • \"/az\" - to access Azure blob storage
  • \n", - "" + "\n" ] }, { @@ -217,8 +218,7 @@ "outputs": [], "source": [ "SELECT TOP 2 * FROM (\n", - "LOCATION = '/gs/storage.googleapis.com/clearscape_analytics_demo_data/Data_Load/'\n", - "AUTHORIZATION = gs_tables_db.auth \n", + "LOCATION = '/gs/storage.googleapis.com/clearscape_analytics_demo_data/Data_Load/Retail_Data_sample.csv'\n", ") AS D;" ] }, @@ -249,9 +249,8 @@ "metadata": {}, "outputs": [], "source": [ - "CREATE FOREIGN TABLE Retail_Data_FT,\n", - "EXTERNAL SECURITY gs_tables_db.auth\n", - "USING (LOCATION('/gs/storage.googleapis.com/clearscape_analytics_demo_data/Data_Load/'));" + "CREATE FOREIGN TABLE Retail_Data_FT\n", + "USING (LOCATION('/gs/storage.googleapis.com/clearscape_analytics_demo_data/Data_Load/Retail_Data_sample.csv'));" ] }, { @@ -312,7 +311,6 @@ " Country\n", "FROM (\n", " LOCATION = '/gs/storage.googleapis.com/clearscape_analytics_demo_data/Data_Load/Retail_Data_sample.csv'\n", - "AUTHORIZATION = gs_tables_db.auth\n", ") AS d;" ] },