Share this article:

Vertica Integration with H2O Flow: Connection Guide

About Vertica Connection Guides

Vertica connection guides provide basic instructions for connecting a third-party partner product to Vertica. Connection guides are based on our testing with specific versions of Vertica and the partner product.

Vertica and H2O Flow: Latest Versions Tested

Software Version
Partner Product

H2O 3.22.1.6

Partner Product Platform

CentOS Linux release 7.4.1708 (Core)

Vertica Client

Vertica JDBC 9.2

Vertica Server Vertica Database 9.2.0-0

H2O Flow Overview

H2O Flow is the web-based user interface to H2O, an open-source machine learning and artificial intelligence platform.

With H2O Flow, you can capture, rerun, annotate, present, and share your H2O workflows. You can interactively import files and build and tune models. Based on your models, you can make predictions and add rich text to create vignettes of your work.

Download the Vertica Client Driver

H2O Flow uses the Vertica JDBC driver to connect to Vertica. Follow these steps to download the driver:

  1. Navigate to the Client Drivers page on the Vertica website.
  2. Download the JDBC driver package.

    Note  

    For details about client and server compatibility, see Client Driver and Server Version Compatibility in the Vertica documentation.

Download and Start H2O Flow

Note  

H2O requires Java version 7 or later. If you do not already have Java installed on your computer, you can download it from the Oracle website for Java.

  1. On the H2O website, click Download H2O to download the H2O zip file.
  2. Extract the contents of the zip file:

    cd ~/Downloads
    unzip h2o-3.22.1.6.zip
    cd h2o-3.22.1.6
  3. Copy the Vertica JDBC jar file to ~/Downloads/h2o-3.22.1.6 and start H2O Flow:

    java -cp h2o.jar:vertica-jdbc-9.2.0-0.jar water.H2OApp
  4. Open H2O Flow in your browser:

    http://<IP_Address>:54321

Connect H2O Flow to Vertica

  1. In H2O Flow, select ImportSQLTable to import a SQL table into H2O.

  2. Provide the connection URL, user name, and password to connect with Vertica. Provide the name of the table from which you want to import data.

    Click Import to load the data.

    The progress of the data load is displayed:

  3. When the import is successful, click View to view the data frame in H2O Flow.

    The data frame is displayed:

Known Limitations

  • H2O Flow does not support INTERVAL, TIMESTAMPTZ, UUID, BINARY, LONGVARBINARY or VARBINARY data types. A warning message is returned and the data is loaded into H2O as null.
  • H2O Flow does not support the TIMEZONE component of the TIMETZ data type. TIMETZ data is succcessfully loaded into H2O without the TIMEZONE component.
  • H2O Flow rounds off numeric data to 16 digits to the left of the decimal point and 4 digits to the right of the decimal point.
  • H2O Flow displays EPOCH timestamp values in milliseconds for TIME, DATE, TIMESTAMP and TIMETZ data types.

For More Information

 

Share this article: