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

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 server is listening. The default port is 443. The corresponding driver URL template variable is port.
Database name
The name of the database you want to connect to. The corresponding driver URL template variable is database.
S3 staging directory
The S3 path used by Athena to store query results, e.g. /my-bucket/athena-results/.
Database dialect
Choose the registered database dialect here.
Use latest driver version available
If selected, 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.
Database driver
Choose the JDBC driver to connect to the database here. 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".
JDBC parameters
This section allows you to define JDBC driver connection parameters. The value of a parameter can be a constant, credential username, credential password, file path, or KNIME URL. For more information about the supported driver properties see the Amazon Athena JDBC driver documentation.
Input mapping by name
Columns that match the given name (or regular expression) and database type will be mapped to the specified KNIME type.
  • Column selection type: The option allows you to select how the column is matched.
    • Manual: Use the exact name of the column
    • Regex: Allow regex expressions to select multiple columns
  • Column name: The name or regex expression.
  • Database type: SQL type to map from.
  • Mapping to: Datatype to map to.
Input mapping by type
Columns that match the given database type will be mapped to the specified KNIME type.
  • From type: SQL type to map from.
  • To type: Datatype to map to.
Output mapping by name
Columns that match the given name (or regular expression) and KNIME type will be mapped to the specified database type.
  • Column selection type: The option allows you to select how the column is matched.
    • Manual: Use the exact name of the column
    • Regex: Allow regex expressions to select multiple columns
  • Column name: The name or regex expression.
  • Source type: Datatype to map from.
  • Mapping to: SQL type to map to.
Output mapping by type
Columns that match the given KNIME type will be mapped to the specified database type.
  • From type: Datatype to map from.
  • To type: SQL type to map to.
Additional settings
This tab allows you to define KNIME framework properties such as connection handling, advanced SQL dialect settings or logging options. The available properties depend on the selected database type and driver. For more information about the supported parameters see the KNIME Database Extension Guide.

Input Ports

Icon
Amazon Authentication information.

Output Ports

Icon
Amazon Athena connection.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

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.