SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Load Data into Standalone Data Lake in SAP HANA Cloud

Learn to load data into tables in a standalone data lake in SAP HANA Cloud.

Overview

🎓 beginner 20 min. SAP HANA CloudBeginnerSAP HANA CloudData Lake

You will learn

  • How to create tables in a standalone data lake
  • How to load data hosted in an Amazon Web Services (AWS) S3 bucket into a standalone data lake
  • How to load data hosted in a Microsoft Azure container into a standalone data lake
Unknown U Unknown August 15, 2023
Created by June 24, 2021
Contributors

Prerequisites

Prerequisites

Steps

Intro

The supporting sample data and code files are available on a public GitHub repository. From the folder Mission: Get Started with a Standalone Data lake download the zip file Sample Data.

In this zip file, you will find four tables:

  • Customer.tbl

  • Nation.tbl

  • Region.tbl

  • Supplier.tbl

In the same GitHub folder, you can also find the SQL scripts used in this tutorial as a zip file or as individual files.

If you decide to use Interactive SQL instead of SAP HANA database explorer, please copy the SQL Scripts used in this tutorial onto the machine where you installed the Interactive SQL.

Step 1 Create a new user

Before you create tables, it is recommended that you also create a new user, so that your new tables are not owned by HDLADMIN. With a new user, your new tables will be created under a particular schema.

This helps you keep your data organized in the simplest level and keeps the tables separate from other tables that might already exist under the HDLADMIN user. Creating a new user also allows you to control the permissions as a group and assign whatever roles you require.

To add a new user, follow these steps:

  1. Log in to SAP HANA Cloud Central. In the Actions column of your standalone data lake, click on the three dots and select Open SQL Console. This will open a SQL console connected to your data lake.

  2. Enter your data lake credentials if prompted. Then create a new user with the statement given below. Provide your new username and password in the appropriate fields.

SQL
CREATE USER <username> IDENTIFIED BY <password>

For more in-depth information about creating users in SAP HANA Cloud, data lake, please see our technical documentation.

Step 2 Create tables in data lake
+
Step 3 Upload sample data
+
Step 4 Load data into data lake tables
+
Step 5 Knowledge Check
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Create a new user 2. Create tables in data lake 3. Upload sample data 4. Load data into data lake tables 5. Knowledge Check

Learn more →