![]() |
VOOZH | about |
ETL Validator provides data movement and transformation capabilities for integrating data platforms across your organization. CData's JDBC driver seamlessly integrates with ETL Validator and extends its native connectivity to include Presto data.
This tutorial explains how to build a simple ETL validator data flow to extract data from Presto data and load it into an example data storage solution: SQL Server.
Accessing and integrating live data from Trino and Presto SQL engines has never been easier with CData. Customers rely on CData connectivity to:
Presto and Trino allow users to access a variety of underlying data sources through a single endpoint. When paired with CData connectivity, users get pure, SQL-92 access to their instances, allowing them to integrate business data with a data warehouse or easily access live data directly from their preferred tools, like Power BI and Tableau.
In many cases, CData's live connectivity surpasses the native import functionality available in tools. One customer was unable to effectively use Power BI due to the size of the datasets needed for reporting. When the company implemented the CData Power BI Connector for Presto they were able to generate reports in real-time using the DirectQuery connection mode.
CData extends ETL Validator's data connectivity capabilities by providing the ability to add data sources that connect via CData's JDBC drivers. Connecting to Presto data simply requires creating a new data source in ETL Validator through CData's connectiviy suite as described below.
Begin by logging into ETL Validator to view the application dashboard.
π Access the ETL Validator dashboardCData extends the data source options within ETL Validator.
π Create a new DataSourceCData's connectivity is embedded within ETL Validator's data source options.
π CData data sourceYou will need a JDBC connection string to establish a connection to Presto in ETL Validator.
π CData data sourceSet the Server and Port connection properties to connect, in addition to any authentication properties that may be required.
To enable TLS/SSL, set UseSSL to true.
In order to authenticate with LDAP, set the following connection properties:
In order to authenticate with KERBEROS, set the following connection properties:
For assistance in constructing the JDBC URL, use the connection string designer built into the Presto JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.presto.jar
π Using the built-in connection string designer to generate a JDBC URL (presto is shown.)
A typical connection string looks like this:
jdbc:presto:Server=127.0.0.1;Port=8080;
To ensure the JDBC driver is licensed appropriately, copy the license file to the appropriate location:
Copy the JDBC Driver for Presto and lic file from "C:\Program Files\CData[product_name]\lib" to "C:\Datagaps\ETLValidator\Server\apache-tomcat\bin".
cdata.jdbc.presto.jar cdata.jdbc.presto.lic
Note: If you do not copy the .lic file with the jar, you will see a licensing error that indicates you do not have a valid license installed. This is true for both the trial and full versions.
Should you encounter any difficulties loading the CData JDBC driver class, please contact DataGap's team, and they will provide you instructions on how to load the jar file for the relevant driver.
This example will use SQL Server as a destination for Presto data data, but any preferred destination can be used instead.
This option is the default.
π Add SQL ServerThe details will depend on the specific target, but these details may include a URL, authentiation credentials, etc.
π Add SQL ServerConfigured data flows will appear in this window.
π Dataflows tabName your new dataflow and save it.
The details of the data movement will be configured in this panel.
π Dataflow diagramGive the new source an appropriate name and save it.
π Jira example sourceSelect the Table from the Schema option that reflects which data should be pulled from Presto data.
The anticipated outcome of the configured query is displayed in the Result tab.
π Query resultsSelect Switch to Diagram, then drag & drop the DB Sink as a target from the right side (under Sink options). Give the sink an appropriate name and save it.
π Data sinkChoose the Schema and table that matches the structure of the source table. For this example, the table on the target side was created to match the Source so that data flow seamlessly. More advanced schema transformation operations are beyond the scope of this article.
π Destination schemaRunning the job will take some time.
π Destination schemaReturn to the diagram to see the finished data replication job from Presto data to SQL Server.
π Full dataflowDownload a free, 30-day trial of the CData JDBC Driver for Presto and start building Presto-connected applications with ETL Validator. Reach out to our Support Team if you have any questions.
Download a free trial of the Presto Driver to get started:
Download NowLearn more:
π Presto IconRapidly create and deploy powerful Java applications that integrate with Presto.