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

Connect to Data Lake Relational Engine Using the Go Driver

Create and debug a Go application that connects to data lake Relational Engine.

Overview

🎓 beginner 15 min. SAP HANA Cloud Data LakeBeginnerSAP HANA Cloud

You will learn

  • โœ”How to install Go
  • โœ”How to create and debug a Go application that queries a data lake Relational Engine

Prerequisites

Prerequisites

  • You have completed the first tutorial in this group.

Steps

Intro

Go is an open-source programming language developed by Google to increase productivity among programmers. For more information, see the Go Documentation.


Step 1 Install Go
โ€”

The first step is to check if Go is installed, and if so, which version. To do so, enter the following command:

Shell
go version

go version linux
go version linux

If Go is installed, then it will return the currently installed version, such as 1.26.1

If it is not installed, download it from Download Go, run the installer, follow the provided instructions, and ensure that Go is in your path.

On Linux, follow the instructions for the appropriate Linux version: Installing Go for openSUSE.

Note: A new shell window must be opened for the system to recognize the Go installation and for executing any future Go commands.

Step 2 Configure the environment
+
Step 3 Create a Go application that queries an SAP data lake Relational Engine
+
Step 4 Debug the application
+
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. Install Go 2. Configure the environment 3. Create a Go application that queries an SAP data lake Relational Engine 4. Debug the application 5. Knowledge check

Learn more →