From 589813846aacd5de277ebdb9e2e6aee843645ae6 Mon Sep 17 00:00:00 2001 From: Aravind-21-Test <116723181+Aravind-21-Test@users.noreply.github.com> Date: Fri, 17 May 2024 15:30:16 +0530 Subject: [PATCH] Update create-first-project.md Adjusted the example to fir AWS and Azure context --- .../create-first-project.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/explore-and-analyze-data/create-first-project.md b/docs/explore-and-analyze-data/create-first-project.md index 1b74bc7634..e7399d55fb 100644 --- a/docs/explore-and-analyze-data/create-first-project.md +++ b/docs/explore-and-analyze-data/create-first-project.md @@ -48,6 +48,8 @@ Your AI Unlimited admin is the person at your organization who set up AI Unlimit If you don't yet have JupyterLab or the AI Unlimited kernel, see [JupyterLab installation options](/docs/advanced/jupyterlab). ::: +- To run the sample workload, you'll need the `salescenter.csv` file. Download the file from [GitHub Demo: Charting and Visualization Data](https://github.com/Teradata/jupyter-demos/tree/main/Getting_Started/Charting_and_Visualization/data) and upload it to your Amazon Simple Storage Service (S3) or Azure Blob Storage location. If you're using your own file, modify the example accordingly. + ## Connect, and run your first workload :::tip @@ -70,6 +72,7 @@ Or learn about the [magic commands](/docs/explore-and-analyze-data/magic-command 3. Create an object store authorization to store the cloud service provider credentials. Replace `ACCESS_KEY_ID`, `SECRET_ACCESS_KEY`, and `REGION` with your values. + ```bash %project_auth_create name=, project=, key=, secret=, region= ``` @@ -91,7 +94,7 @@ Or learn about the [magic commands](/docs/explore-and-analyze-data/magic-command 6. Run the sample workload. :::note - Make sure you do not have tables named SalesCenter or SalesDemo in the selected database. Replace auth1 and the location values in the following example with your own values. + Make sure you do not have tables named SalesCenter or SalesDemo in the selected database. Replace and the values in the following example with your own values. :::: a. Create a table to store the sales center data. @@ -100,14 +103,14 @@ Or learn about the [magic commands](/docs/explore-and-analyze-data/magic-command DROP FOREIGN TABLE SalesCenter; CREATE MULTISET FOREIGN TABLE SalesCenter , - EXTERNAL SECURITY DEFINER TRUSTED auth1 + EXTERNAL SECURITY DEFINER TRUSTED ( Sales_Center_id INTEGER NOT NULL, Sales_Center_Name VARCHAR(255) CHARACTER SET LATIN NOT CASESPECIFIC ) USING ( - LOCATION ('/s3/s3.amazonaws.com/tioce/data/salescenter.csv') + LOCATION ('') MANIFEST ('FALSE') ROWFORMAT ('{"field_delimiter":",","record_delimiter":"\n","character_set":"LATIN"}') STOREDAS ('TEXTFILE') @@ -127,7 +130,7 @@ Or learn about the [magic commands](/docs/explore-and-analyze-data/magic-command ```sql DROP FOREIGN TABLE SalesDemo; CREATE MULTISET FOREIGN TABLE SalesDemo , - EXTERNAL SECURITY DEFINER TRUSTED auth1 + EXTERNAL SECURITY DEFINER TRUSTED ( Sales_Center_ID INTEGER NOT NULL, UNITS DECIMAL(15,4), @@ -136,7 +139,7 @@ Or learn about the [magic commands](/docs/explore-and-analyze-data/magic-command ) USING ( - LOCATION ('/s3/s3.amazonaws.com/tioce/data/salesdemo.csv') + LOCATION ('') MANIFEST ('FALSE') ROWFORMAT ('{"field_delimiter":",","record_delimiter":"\n","character_set":"LATIN"}') STOREDAS ('TEXTFILE')