Products | Versions |
---|---|
Spotfire Server | 10.8 and earlier versions |
A. Upgrade Spotfire Server to 10.9 or higher.
B. For TSS version 10.8.x and earlier versions , follow below steps to modify datasource template for Amazon Redshift in server configuration
</jdbc-type-settings>
<sql-runtime>com.spotfire.ws.im.ds.sql.postgresql.PostgresSQLRuntime</sql-runtime> </jdbc-type-settings>
<jdbc-type-settings> <type-name>Amazon Redshift</type-name> <driver>com.amazon.redshift.jdbc.Driver</driver> <connection-url-pattern>jdbc:redshift://<endpoint>:<port>/<database></connection-url-pattern> <ping-command>SELECT 1</ping-command> <metadata-provider>com.spotfire.ws.im.ds.sql.BasicJDBCMetadataProvider</metadata-provider> <fetch-size>10000</fetch-size> <batch-size>100</batch-size> <table-types>TABLE, VIEW</table-types> <supports-catalogs>true</supports-catalogs> <supports-schemas>true</supports-schemas> <supports-procedures>true</supports-procedures> <max-in-clause-size>1000</max-in-clause-size> <condition-list-threshold>10000</condition-list-threshold> <expand-in-clause>false</expand-in-clause> <table-expression-pattern>[$$catalog$$.][$$schema$$.]$$table$$</table-expression-pattern> <procedure-expression-pattern>[$$catalog$$.][$$schema$$.]$$procedure$$</procedure-expression-pattern> <time-format-expression>to_char($$value$$, 'HH24:MI:SS')</time-format-expression> <date-time-format-expression>$$value$$</date-time-format-expression> <sql-runtime>com.spotfire.ws.im.ds.sql.postgresql.PostgresSQLRuntime</sql-runtime> </jdbc-type-settings>