<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article How to: Getting started with the Amazon Redshift connector in Qlik Application Automation in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-Getting-started-with-the-Amazon-Redshift-connector-in/ta-p/1866571</link>
    <description>&lt;P&gt;This article is intended to get started with the Amazon Redshift connector in Qlik Application Automation.&lt;/P&gt;
&lt;H3&gt;Authentication and Authorization&lt;/H3&gt;
&lt;P&gt;To authenticate with Amazon Redshift, you will have to gather the following information:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Host&lt;/STRONG&gt;: You can find this in the AWS Redshift console when you click on your cluster. Here one of the fields shows endpoint. Only keep the hostname part of the URL.&lt;BR /&gt;&lt;STRONG&gt;Database&lt;/STRONG&gt; &lt;STRONG&gt;Name&lt;/STRONG&gt;: The name of the database you have provided.&lt;BR /&gt;&lt;STRONG&gt;Username&lt;/STRONG&gt;: Username that you use to connect to Amazon Redshift&lt;BR /&gt;&lt;STRONG&gt;Password&lt;/STRONG&gt;: Password that you use to connect to Amazon Redshift&lt;/P&gt;
&lt;H3&gt;Available blocks:&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Do Query&lt;/STRONG&gt;: This block takes a string as parameter. Provide a SQL query to be executed against Redshift.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_1-1638541971843.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67898i8970976F627DE5BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_1-1638541971843.png" alt="MarkGeurtsen_1-1638541971843.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;List tables&lt;/STRONG&gt;: This block returns a list of all tables in your database.&lt;BR /&gt;Insert Record: Requires a table name to be given and a JSON object. The inputs will be transformed into an insert statement and executed.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Upsert Record&lt;/STRONG&gt;: Requires a table name to be given as well as a key value pair to be compared against. The key value pair consists of a column and tests if the value matches. If a match is found, the fields provided in record will be updated. Otherwise it will perform an insert.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_2-1638541999008.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67899iF9D6AA6DE3C597B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_2-1638541999008.png" alt="MarkGeurtsen_2-1638541999008.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update Record by One Field&lt;/STRONG&gt;: Takes a table name as parameter and a key value pair to be compared against. All matches will be updated with the values provided in the Data object.&lt;/P&gt;
&lt;P&gt;This example will update all records in table my_test where column1 equals value. Every value in column2 will be given the value newvalue.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_3-1638542021631.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67900iD415F25AD69F3579/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_3-1638542021631.png" alt="MarkGeurtsen_3-1638542021631.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;List Records&lt;/STRONG&gt;: Provide a table name, the columns you want to be returned. It is possible to filter the data through the where clause by providing a column name and value. Furthermore it is possible to implement paging inside a loop when offset and limit parameters are provided.&lt;/P&gt;
&lt;P&gt;The example below will return a list of records from my_test table with all columns where column1 equals value1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_4-1638542028647.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67901i7C4EE19E57A2F66E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_4-1638542028647.png" alt="MarkGeurtsen_4-1638542028647.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Insert Record&lt;/STRONG&gt;: This block will insert a single row into the table provided by tableName. It takes a JSON object that will be inserted as the row.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_5-1638542043490.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67902i7E6FE49B6D8005DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_5-1638542043490.png" alt="MarkGeurtsen_5-1638542043490.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Delete Record&lt;/STRONG&gt;: Deletes records from a table. Provide the table name and a where condition to indicate which records have to be deleted:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_6-1638542050575.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67903i87929F05F17DD1B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_6-1638542050575.png" alt="MarkGeurtsen_6-1638542050575.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Import S3 File&lt;/STRONG&gt;: This block takes a file stored on S3 storage and imports it into Redshift. Further information will be added later to this article.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Insert Bulk&lt;/STRONG&gt;: This block inserts multiple rows into a table. You have to specify the table name and provide a list of JSON objects.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_7-1638542057556.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67904i7652C821B4B69057/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_7-1638542057556.png" alt="MarkGeurtsen_7-1638542057556.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Upsert Bulk&lt;/STRONG&gt;: This block does an upsert of rows, identical to the Insert bulk block. A key has to be provided. If the value of the key of a record matches an already existing record then it will be updated, otherwise an insert will happen.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_0-1638541951021.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67897iB02FE866609994A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_0-1638541951021.png" alt="MarkGeurtsen_0-1638541951021.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Dec 2021 14:35:21 GMT</pubDate>
    <dc:creator>MarkGeurtsen</dc:creator>
    <dc:date>2021-12-03T14:35:21Z</dc:date>
    <item>
      <title>How to: Getting started with the Amazon Redshift connector in Qlik Application Automation</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-Getting-started-with-the-Amazon-Redshift-connector-in/ta-p/1866571</link>
      <description>&lt;P&gt;This article is intended to get started with the Amazon Redshift connector in Qlik Application Automation.&lt;/P&gt;
&lt;H3&gt;Authentication and Authorization&lt;/H3&gt;
&lt;P&gt;To authenticate with Amazon Redshift, you will have to gather the following information:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Host&lt;/STRONG&gt;: You can find this in the AWS Redshift console when you click on your cluster. Here one of the fields shows endpoint. Only keep the hostname part of the URL.&lt;BR /&gt;&lt;STRONG&gt;Database&lt;/STRONG&gt; &lt;STRONG&gt;Name&lt;/STRONG&gt;: The name of the database you have provided.&lt;BR /&gt;&lt;STRONG&gt;Username&lt;/STRONG&gt;: Username that you use to connect to Amazon Redshift&lt;BR /&gt;&lt;STRONG&gt;Password&lt;/STRONG&gt;: Password that you use to connect to Amazon Redshift&lt;/P&gt;
&lt;H3&gt;Available blocks:&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Do Query&lt;/STRONG&gt;: This block takes a string as parameter. Provide a SQL query to be executed against Redshift.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_1-1638541971843.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67898i8970976F627DE5BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_1-1638541971843.png" alt="MarkGeurtsen_1-1638541971843.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;List tables&lt;/STRONG&gt;: This block returns a list of all tables in your database.&lt;BR /&gt;Insert Record: Requires a table name to be given and a JSON object. The inputs will be transformed into an insert statement and executed.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Upsert Record&lt;/STRONG&gt;: Requires a table name to be given as well as a key value pair to be compared against. The key value pair consists of a column and tests if the value matches. If a match is found, the fields provided in record will be updated. Otherwise it will perform an insert.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_2-1638541999008.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67899iF9D6AA6DE3C597B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_2-1638541999008.png" alt="MarkGeurtsen_2-1638541999008.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update Record by One Field&lt;/STRONG&gt;: Takes a table name as parameter and a key value pair to be compared against. All matches will be updated with the values provided in the Data object.&lt;/P&gt;
&lt;P&gt;This example will update all records in table my_test where column1 equals value. Every value in column2 will be given the value newvalue.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_3-1638542021631.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67900iD415F25AD69F3579/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_3-1638542021631.png" alt="MarkGeurtsen_3-1638542021631.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;List Records&lt;/STRONG&gt;: Provide a table name, the columns you want to be returned. It is possible to filter the data through the where clause by providing a column name and value. Furthermore it is possible to implement paging inside a loop when offset and limit parameters are provided.&lt;/P&gt;
&lt;P&gt;The example below will return a list of records from my_test table with all columns where column1 equals value1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_4-1638542028647.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67901i7C4EE19E57A2F66E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_4-1638542028647.png" alt="MarkGeurtsen_4-1638542028647.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Insert Record&lt;/STRONG&gt;: This block will insert a single row into the table provided by tableName. It takes a JSON object that will be inserted as the row.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_5-1638542043490.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67902i7E6FE49B6D8005DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_5-1638542043490.png" alt="MarkGeurtsen_5-1638542043490.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Delete Record&lt;/STRONG&gt;: Deletes records from a table. Provide the table name and a where condition to indicate which records have to be deleted:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_6-1638542050575.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67903i87929F05F17DD1B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_6-1638542050575.png" alt="MarkGeurtsen_6-1638542050575.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Import S3 File&lt;/STRONG&gt;: This block takes a file stored on S3 storage and imports it into Redshift. Further information will be added later to this article.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Insert Bulk&lt;/STRONG&gt;: This block inserts multiple rows into a table. You have to specify the table name and provide a list of JSON objects.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_7-1638542057556.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67904i7652C821B4B69057/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_7-1638542057556.png" alt="MarkGeurtsen_7-1638542057556.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Upsert Bulk&lt;/STRONG&gt;: This block does an upsert of rows, identical to the Insert bulk block. A key has to be provided. If the value of the key of a record matches an already existing record then it will be updated, otherwise an insert will happen.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGeurtsen_0-1638541951021.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67897iB02FE866609994A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGeurtsen_0-1638541951021.png" alt="MarkGeurtsen_0-1638541951021.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 14:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-to-Getting-started-with-the-Amazon-Redshift-connector-in/ta-p/1866571</guid>
      <dc:creator>MarkGeurtsen</dc:creator>
      <dc:date>2021-12-03T14:35:21Z</dc:date>
    </item>
  </channel>
</rss>

