Apache Drill

This article describes how to connect Tableau to Apache Drill data and set up the data source.

Before you begin

Before you begin, gather this connection information:

  • Type of connection:

    • Direct: server name

    • Zookeeper: quorum and cluster ID

  • Authentication:

    • No authentication

    • User name and password

Driver required

This connector requires a driver to talk to the database. You might already have the required driver installed on your computer. If the driver is not installed on your computer, Tableau displays a message in the connection dialog box with a link to the Driver Download page where you can find driver links and installation instructions.

Make the connection and set up the data source

  1. Start Tableau and under Connect, select Apache Drill. For a complete list of data connections, select More under To a Server. Then do the following:

    1. Select the Connection method:

      • Direct - Enter the Server name.

      • Zookeeper - Enter the Quorum and Cluster ID.

    2. Select the Authentication method:

      • No Authentication

      • Username and password - Enter the user name and password.

    3. Select Sign In.

  2. On the data source page, do the following:

    1. (Optional) Select the default data source name at the top of the page, and then enter a unique data source name for use in Tableau. For example, use a data source naming convention that helps other users of the data source figure out which data source to connect to.

    2. Under Schema, select a schema from the drop-down list.

    3. Under Table, select a table and drag it to the canvas.

      For information about connecting to more than one table, see Join Your Data.

    4. Select the sheet tab to start your analysis.

      Use custom SQL to connect to a specific query rather than the entire data source. For more information, see Connect to a Custom SQL Query.

Apache Drill data source example

Here is an example of an Apache Drill data source using Tableau Desktop on a Windows computer:

Sign in on a Mac

If you use Tableau Desktop on a Mac, when you enter the server name to connect, use a fully qualified domain name, such as mydb.test.ourdomain.lan, instead of a relative domain name, such as mydb or mydb.test.

Alternatively, you can add the domain to the list of Search Domains for the Mac computer so that when you connect, you need to provide only the server name. To update the list of Search Domains, go to System Preferences > Network > Advanced, and then open the DNS tab.

 

See also

Thanks for your feedback! There was an error submitting your feedback. Try again or send us a message.