SAP

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

Connect to Data Lake Relational Engine Using the Node.js Driver

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

Overview

You will learn

  • How to install Node.js and the data lake Relational Engine Node.js driver
  • How to create and debug a Node.js application
  • How to use both the synchronous and asynchronous driver interfaces

More from Dan van Leeuwen

See all 60 tutorials by Dan van Leeuwen →

Prerequisites

Prerequisites

  • You have completed the first tutorial in this group.

Steps

Intro

Node.js provides a JavaScript runtime outside of the browser and uses an asynchronous event driven programming model. For more details, see Introduction to Node.js. On Microsoft Windows, in this tutorial, the shell used is the Command Prompt.


Step 1 Install Node.js

Ensure you have Node.js installed and check its version. Enter the following command:

Shell
node -v  

If Node.js is installed, the currently installed version is returned, such as v22.16.0.

If Node.js is not installed, download the long-term support (LTS) version of the Node.js installer from Download Node.js.

If an install for Node.js is not provided on Linux, you may choose to install it via a package manager. For more details, please navigate to this link.


During the installation, there is no need to install Chocolatey.

Chocolatey
Chocolatey

Step 2 Install the data lake Relational Engine client for Node.js
+
Step 3 Create a synchronous Node.js application that queries SAP data lake Relational Engine
+
Step 4 Create an asynchronous app that uses callbacks
+
Step 5 Create an asynchronous app that uses promises
+
Step 6 Debug the application
+
Step 7 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 7
1. Install Node.js 2. Install the data lake Relational Engine client for Node.js 3. Create a synchronous Node.js application that queries SAP data lake Relational Engine 4. Create an asynchronous app that uses callbacks 5. Create an asynchronous app that uses promises 6. Debug the application 7. Knowledge check
Next