[progress News] [progress Openedge Abl] Integrating Your Cassandra Nosql Db With Targit Bi...

Status
Not open for further replies.
S

Sumit Sarkar

Guest
In this latest post from our tutorial rumble, Sanjeev Aggarwal guides you through integrating TARGIT with Apache Cassandra via DataDirect ODBC.

TARGIT is a business intelligence solution with dashboards, analytics, reporting and a data discovery platform that is accessible on all devices and platforms. Apache Cassandra is a NoSQL open-source distributed database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.

Connecting TARGIT and Cassandra with DataDirect ODBC


As an organization, you want to feed as much relevant data into your business intelligence solution as possible in order to come up with more informed decisions/predictions. However, currently TARGIT does not offer any native connectivity to Cassandra.

Luckily, Sanjeev Aggarwal has developed step-by-step instructions on how DataDirect ODBC can help you easily integrate your Cassandra data with TARGIT and make it look like any other relational database. While this guide is for Cassandra, these steps can also be applied to any of the data sources on our ever-expanding list of ODBC connectors.

Getting Started


Download the free 15-day trial of the DataDirect ODBC driver for Cassandra. TARGIT BI is a 64-bit application, so download the 64-bit driver and create a 64-bit data source.

  1. Open ODBC Data Source Administrator (64-bit) and select the "System DSN" tab.
  2. Click on "Add" to create an ODBC data source for Cassandra.

    click-on-add-to-create-an-odbc-data-source-for-cassandra.png


  3. From the "Create New Data" source window, select "DataDirect Apache Cassandra" and select "Finish."

    from-the-create-new-data-source-window-select-datadirect-apache-cassandra-and-select-finish.png


  4. Configure the data source by entering the "Data Source Name," "Host Name," "Port Number" and the name of the Cassandra database ("Keyspace Name") to which you want to connect. The "Schema Definition Path" will be automatically generated for you, but feel free to specify your own location for where you would like the schema files to be generated. Make sure you have full permission for this folder.

    Schema Tool Note
    : The DataDirect Cassandra driver will automatically generate a schema for you without you having to open up the Schema Tool.

    Click on "Test Connect" and ensure that your connection is established.

    click-on-test-connect-and-ensure-that-your-connection-is-established.png


  5. Refer to the DataDirect Cassandra ODBC user's guide for details on other connection options under the "Advanced" and "SQL Engine" tabs.

Configuring DataDirect ODBC Driver with TARGIT and Building the Data Model

  1. Download and install TARGIT DecisionSuite.
  2. Run TARGIT Management, select the local server and click on “Manage Server.”

    2-run-targit-management-select-the-local-server-and-click-on-manage-server.png


  3. Select "Connections" from the left-side menu, right click somewhere on the right side and choose "Add."

    select-connections-from-the-left-side-menu-right-click-somewhere-on-the-right-side-and-choose-'add'.png


  4. Choose "Relational Database" from the "Connection Type" window.
    choose-relational-database-from-the-connection-type-window.png


  5. As you see in the list, TARGIT does not support native connectivity to Cassandra. Therefore, you will select "Generic" to setup an ODBC connection.
    select-generic-to-setup-an-odbc-connection.png


  6. Enter the name for your connection. We will call it "Cassandra." The "Description" field is optional.
    6-enter-the-name-for-your-connection-we-will-call-it-cassandra-the-description-field-is-optional.png


  7. To generate the ODBC connection string using the ODBC DSN you created earlier, select "Change connection string."
    7-to-generate-the-odbc-connection-string-using-the-odbc-dsn-we-created-earlier-select-change-connection-string.png


  8. In the "Data Link Properties" window, go to the "Connection" tab and choose "Use data source name." Then from the drop-down menu, select the ODBC data source that you created earlier ("Cassandra," in this example).
  9. If your database requires authentication, then provide the user name and password and select "Allow saving password." Select "Test Connection" to make sure your connection is successful.
    right-click-on-the-cassandra-connection-you-just-created-and-select-edit-data-model.png


  10. Press "OK" to exit from Data Link Properties and save the "Generic Connection String." You should now have the ODBC connection to Cassandra.
  11. Right click on the Cassandra connection you just created and select "Edit data model."
    right-click-on-the-cassandra-connection-you-just-created-and-select-edit-data-model1999b1c51da54fa8915faea9c89b2379.png


  12. This will open up the Relational Datamodel Editor and display the schema for the database you are connected to. Select and drop the EMP schema to the data model and create a new cube called "EMPLOYEES."
    select-and-drop-the-emp-schema-to-the-data-model-and-create-a-new-cube-employees.png


  13. You can add dimensions, measures, calculations and more to the cube by dragging the columns to the correct folder and build hierarchies by dropping them on top of each other.
    one-can-add-dimensions-measures-and-calculations-and-more.png


  14. Save your data model after you are done adding tables and creating hierarchies and start analyzing your data with TARGIT.

start-analyzing-your-data-with-targit.png


Get started today


Now that you have integrated TARGIT with Cassandra, you are one step closer to achieving your business intelligence goals. Remember, these same steps also apply to any of our ever-expanding list of data sources for ODBC connectors. Pick up your 15-day free trial of our Cassandra ODBC connector and get on your way to achieving high-performance data connectivity.

15-day free trial.

Continue reading...
 
Status
Not open for further replies.
Top