Apache Drill is an open source SQL query engine for Big Data Exploration tool that can connect to various data sources and provide a common SQL interface to them, delivering self-service data exploration capabilities to the data stored in multiple formats. In this tutorial, we will go through on how you can connect to your data in in any Relational, NoSQL, Big Data or SaaS applications and query it using Apache Drill RDBMS Storage plugin and Progress DataDirect JDBC drivers. The tutorial will focus on SQL Server and Salesforce as an example, but you can use similar process to query any data source using Progress DataDirect JDBC drivers.
java -jar PROGRESS_DATADIRECT_JDBC_SQLSERVER_ALL.jar
tar -xvzf apache-drill-1.XX.0.tar.gz
bin/drill-embedded
{
"type": "jdbc",
"driver": "com.ddtek.jdbc.sqlserver.SQLServerDriver",
"url": "jdbc:datadirect:sqlserver://<;
Server
>:1433;databaseName=Northwind",
"username": "user",
"password": "pass",
"enabled": true
}
show schemas;
use SQLServer.Northwind;
use SQLServer.dbo;
{
"type": "jdbc",
"driver": "com.ddtek.jdbc.sforce.SForceDriver",
"url": "jdbc:datadirect:sforce://login.salesforce.com",
"username": "user",
"password": "pass",
"enabled": true
}
show schemas;
use sforce.SFORCE;