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

Access Data from Google BigQuery in SAP HANA Cloud, SAP HANA Database

Create a remote connection to Google BigQuery in SAP HANA Cloud, SAP HANA database to virtualize data.

Overview

🎓 beginner 10 min. SAP HANA CloudBeginnerSAP HANA CloudSAP HANA DatabaseSAP HANA

You will learn

  • โœ”How to create a remote source in SAP HANA Cloud, SAP HANA database to Google BigQuery
  • โœ”How to virtualise data from Google BigQuery to SAP HANA Cloud, SAP HANA database
Christopher Kollhed C Christopher Kollhed November 1, 2022
Created by August 10, 2021
Contributors

Prerequisites

Prerequisites

  • A running SAP HANA Cloud, SAP HANA database instance in a trial or production environment.
  • A Google BigQuery service account, project and dataset containing at least one table.
  • Completion of the previous tutorial in this group is recommended.

Steps

Intro

In this tutorial, you will learn how to add another non-SAP cloud data source to your multi-source data landscape in SAP HANA Cloud, SAP HANA database. If you have data in Google BigQuery, you can create a remote source connection after some initial preparations in Google BigQuery and then access it in SAP HANA Cloud, SAP HANA database via a virtual table.

In addition to the instructions below, you may also watch this video to follow along:


Step 1 Prepare in Google BigQuery
โ€”

  1. Open the Google Cloud Platform and sign in with your account. You need to have an existing service account with a project and a dataset containing at least one table for the steps in this tutorial.

  2. In Google BigQuery, go to IAM & Admin and click on IAM.

    GBQ_IAM
    GBQ_IAM

  3. Create a Member or use an existing one and assign either the BigQuery Admin role to this member or the roles BigQuery Data Viewer and Big Query User.

  4. Go to service accounts and click on the three dots under Actions in the row of the service account you want to use. Then click on Create Key.

    GBQ service accounts
    GBQ service accounts

  5. A dialogue will open where you need to specify the key type. Select JSON and click on Create.

    GBQ create key
    GBQ create key

  6. Open the file that is created (e.g. using Visual Studio Code or a simple text editor). There you will see all the information of the project and client including the credential information you will need in the next steps to create the connection.

  7. Copy this information from the JSON file:

    • project_id
    • private_key
    • client_email
Step 2 Add a Google BigQuery certificate to your PSE
+
Step 3 Create a virtual table
+
Step 4 Test yourself
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Prepare in Google BigQuery 2. Add a Google BigQuery certificate to your PSE 3. Create a virtual table 4. Test yourself

Learn more →