Use custom SQL to connect to a specific query rather than the entire data source. Select the sheet tab to start your analysis. Select the catalog and database you want to work with.ĭrag one or more tables to your workspace. (Optional) Under Connections, select the default data source. On the data source page, do the following: If you still can't connect, yourĬomputer is having trouble locating the server. If Tableau can't make the connection, verify that your credentials are correct. For more information, see Run Initial SQL. (Optional) Select Initial SQL to specify a SQL command to run at the beginning of every connection, such as when you open the workbook, refresh an extract, sign in to Tableau Server, or publish to Tableau Server. Then do the following:Įnter the name of the S3 staging directory.Įnter your AWS access key ID in the Username field.Įnter your AWS secret access key in the Password field. For a complete list of data connections, select More under To a Server. Start Tableau and under Connect, select Amazon Athena. Make the connection and set up the data source 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 (Link opens in a new window) page where you can find driver links and installation instructions. You might already have the required driver installed on your computer. This connector requires a driver to talk to the database. (Optional) Initial SQL statement to run every time Tableau connects For more information, see Access keys (Link opens in a new window) on the AWS website. The format should be as follows: .įor example: įor example, s3://aws-athena-query-results-123456785678-us-eastexample-2/Īmazon Web Services (AWS) access keys (access key ID and secret access key). Name of the server that hosts the database you want to connect to. Before you beginīefore you begin, gather this connection information: Note: To connect to Amazon Athena you need ports 443 (ssl) and 444 to be open. This article describes how to connect Tableau to Amazon Athena data and set up the data source.
0 Comments
Leave a Reply. |