Use the following rules and guidelines when pushing functions to an Amazon Redshift database:
To push TRUNC(DATE) to Amazon Redshift, you must define the date and format arguments. Otherwise, the agent does not push the function to Amazon Redshift .
The aggregator functions for Amazon Redshift accept only one argument, a field set for the aggregator function. The filter condition argument is ignored. In addition, verify that all fields mapped to the target are listed in the GROUP BY clause.
The Update Override ODBC advanced target property is not applicable when you use an ODBC connection to connect to Amazon Redshift.
To push TO_DATE() to Amazon Redshift, you must define the string and format arguments.
To push TO_CHAR() to Amazon Redshift, you must define the date and format arguments.
Do not specify a format for SYSTIMESTAMP() to push the SYSTIMESTAMP to Amazon Redshift. The Amazon Redshift database returns the complete time stamp.
To push INSTR() to Amazon Redshift, you must only define string, search_value, and start arguments. Amazon Redshift does not support occurrence and comparison_type arguments.
The flag argument is ignored when you push TO_BIGINT and TO_INTEGER to Amazon Redshift.
The CaseFlag argument is ignored when you push IN() to Amazon Redshift.
If you use the NS format as part of the ADD_TO_DATE() function, the agent does not push the function to Amazon Redshift.
If you use any of the following formats as part of the TO_CHAR() and TO_DATE() functions, the agent does not push the function to Amazon Redshift:
To push TRUNC(DATE), GET_DATE_PART(), and DATE_DIFF() to Amazon Redshift, you must use the following formats:
When you push the DATE_DIFF() function to Amazon Redshift using a Redshift ODBC connection, the Secure Agent incorrectly returns the difference values. If the result is positive, the Secure Agent returns negative values and if the result is negative, the positive value is returned.
When you select an Amazon Redshift ODBC connection as source and select an external table as a source object, the data preview fails.