Amazon Athena Connector

This node creates a connection to Amazon Athena using the native Amazon Athena JDBC driver. You need to provide the server's hostname (or IP address) and the port. Login credentials are taken from the connected Amazon Authentication connection.

Due to license restriction you need to download the Athena JDBC driver from Amazon and register it yourself. To download the driver please click here and download the latest version of the JDBC driver without the AWS SDK e.g. AthenaJDBC42-2.0.35.1001.jar. Once downloaded register the driver via the KNIME preference page with athena as database type as described in the Register your own JDBC drivers section of the KNIME Database Extension Guide.

For more information about Amazon Athena in general visit Amazon Athena and also the AWS Forums.

Options

Connection settings

Database Dialect
Choose the registered database dialect here.
Database Driver

Choose the JDBC driver to connect to the database here. Due to license restriction you need to download the Athena JDBC driver from Amazon and register it yourself. To download the driver please click here and download the latest version of the JDBC driver without the AWS SDK e.g. AthenaJDBC42-2.0.35.1001.jar. Once downloaded register the driver via the KNIME preference page with athena as database type as described in the Register your own JDBC drivers section of the KNIME Database Extension Guide.

If you select "Use latest driver version available" upon execution the node will automatically use the driver with the latest (highest) driver version that is available for the current database type. This has the advantage that you do not need to touch the workflow after a driver update. However, the workflow might break in the rare case that the behavior of the driver e.g. type mapping changes with the newer version.

If this option is not enabled, you can select a specific version of the registered drivers via the drop-down list. Additional drivers can be registered via KNIME's preference page "KNIME -> Databases". For more details on how to register a new driver see the database documentation.

Hostname
The hostname (or IP address) of an Amazon Athena server. The corresponding driver URL template variable is host.
Port
The port on which the Amazon Athena service is listening. The default port is 433. The corresponding driver URL template variable is port.
Staging Location
The path of the Amazon S3 location where you want to store query results.

JDBC Parameters

This tab allows you to define JDBC driver connection parameter. The value of a parameter can be a constant, variable, credential user, credential password or KNIME URL. For more information about the supported driver properties see the Athena documentation.

Advanced

This tab allows you to define KNIME framework properties such as connection handling, advanced SQL dialect settings or logging options.

Input Type Mapping

This tab allows you to define rules to map from database types to KNIME types.

Mapping by Name
Columns that match the given name (or regular expression) and database type will be mapped to the specified KNIME type.
Mapping by Type
Columns that match the given database type will be mapped to the specified KNIME type.

Output Type Mapping

This tab allows you to define rules to map from KNIME types to database types.

Mapping by Name
Columns that match the given name (or regular expression) and KNIME type will be mapped to the specified database type.
Mapping by Type
Columns that match the given KNIME type will be mapped to the specified database type.

Input Ports

Icon
Amazon Authentication information

Output Ports

Icon
Amazon Athena connection

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.