VOOZH about

URL: https://www.cdata.com/kb/tech/azuredatalake-odbc-openoffice-base.rst

⇱ How to Easily Query Azure Data Lake Storage Data in OpenOffice Base


How to Easily Query Azure Data Lake Storage Data in OpenOffice Base

πŸ‘ Mohsin Turki
Mohsin Turki
Technical Marketing Engineer
Connect to Azure Data Lake Storage data in OpenOffice Base using the CData ODBC Driver for Azure Data Lake Storage and generate reports with live data insights.

Apache OpenOffice Base is a versatile, free database tool that makes connecting and managing data easy. With CData ODBC Driver for Azure Data Lake Storage, you can seamlessly integrate and query live Azure Data Lake Storage data, bringing real-time insights directly into OpenOffice.

This guide simplifies the setup, showing you how to connect Azure Data Lake Storage to OpenOffice Base so you can easily generate reports, analyze trends, and make informed decisions right within your familiar workspace.

Overview

Here is an overview of the steps:

  1. CONFIGURE: Configure the DSN for Azure Data Lake Storage data in the CData ODBC Driver for Azure Data Lake Storage, using the required connection properties.
  2. CONNECT: Set up the ODBC connection in OpenOffice Base using the configured DSN.
  3. IMPORT: Once connected, review the available metadata and tables.
  4. CREATE: Create a report based on the queried Azure Data Lake Storage data data.

Configure the Azure Data Lake Storage DSN Using the CData ODBC Driver for Azure Data Lake Storage

To start, configure the DSN (Data Source Name) for Azure Data Lake Storage data in your system using the CData ODBC Driver for Azure Data Lake Storage. Download and install a 30-day free trial with all the features from here.

Once installed, launch the ODBC Data Source Administrator:

  • On Windows: Search for ODBC Data Source Administrator in the Start menu and open the application.
  • On Mac: Open Applications, go to Utilities, and select ODBC Manager.
  • On Linux: Use the command line to launch ODBC Data Source Administrator or use unixODBC if installed.
πŸ‘ ODBC Data Source Administrator

Once launched, double-click on the CData Azure Data Lake Storage data Source and enter the required values to establish a connection:

Authenticating to a Gen 1 DataLakeStore Account

Gen 1 uses OAuth 2.0 in Entra ID (formerly Azure AD) for authentication.

For this, an Active Directory web application is required. You can create one as follows:

  1. Sign in to your Azure Account through the
  2. Select "Entra ID" (formerly Azure AD).
  3. Select "App registrations".
  4. Select "New application registration".
  5. Provide a name and URL for the application. Select Web app for the type of application you want to create.
  6. Select "Required permissions" and change the required permissions for this app. At a minimum, "Azure Data Lake" and "Windows Azure Service Management API" are required.
  7. Select "Key" and generate a new key. Add a description, a duration, and take note of the generated key. You won't be able to see it again.

To authenticate against a Gen 1 DataLakeStore account, the following properties are required:

  • Schema: Set this to ADLSGen1.
  • Account: Set this to the name of the account.
  • OAuthClientId: Set this to the application Id of the app you created.
  • OAuthClientSecret: Set this to the key generated for the app you created.
  • TenantId: Set this to the tenant Id. See the property for more information on how to acquire this.
  • Directory: Set this to the path which will be used to store the replicated file. If not specified, the root directory will be used.

Authenticating to a Gen 2 DataLakeStore Account

To authenticate against a Gen 2 DataLakeStore account, the following properties are required:

  • Schema: Set this to ADLSGen2.
  • Account: Set this to the name of the account.
  • FileSystem: Set this to the file system which will be used for this account.
  • AccessKey: Set this to the access key which will be used to authenticate the calls to the API. See the property for more information on how to acquire this.
  • Directory: Set this to the path which will be used to store the replicated file. If not specified, the root directory will be used.
πŸ‘ Configuring a DSN (Salesforce is shown)

Setup an ODBC Connection in OpenOffice Base

Once you've set up the DSN, it's time to connect to it in OpenOffice Base and start querying data:

Your connection is now established β€” ready to query and analyze data seamlessly within OpenOffice Base.


Review the Metadata and Tables

After the database file is created and the connection is established, the table list will automatically display all available Azure Data Lake Storage data objects.

  • Review the Azure Data Lake Storage data Object List: In the left pane, click on Tables to view the Azure Data Lake Storage data objects now available within OpenOffice Base.
  • View Object Data: Click on any object to view its contents. The Azure Data Lake Storage data data will display directly within OpenOffice Base, allowing you to review records and fields with ease.
πŸ‘ Apache OpenOffice Base Metadata (Salesforce data is shown)

That's it! You have now successfully established a connection to Azure Data Lake Storage data in OpenOffice Base, with data readily available for analysis and reporting.


Create a Report

Now, let's generate a report based on your Azure Data Lake Storage data data.

Your report is now created, drawing live data directly from Azure Data Lake Storage data, and ready for analysis.


Try CData Free for 30 Days

Experience the power of live Azure Data Lake Storage data data at your fingertips and seamlessly integrate it into OpenOffice Base. Start your free trial today!

Ready to get started?

Download a free trial of the Azure Data Lake Storage ODBC Driver to get started:

 Download Now

Learn more:

πŸ‘ Azure Data Lake Storage Icon
Azure Data Lake Storage ODBC Driver

The Azure Data Lake Storage ODBC Driver is a powerful tool that allows you to connect with live data from Azure Data Lake Storage, directly from any applications that support ODBC connectivity.

Access Azure Data Lake Storage data like you would a database - read, write, and update Azure Data Lake Storage ADLSData, etc. through a standard ODBC Driver interface.