Al intentar cargar un libro de trabajo con una fuente de datos DB2 en Tableau Server, aparece el siguiente error:
"Bad connection: Tableau could not connect to the data source Error code: FAB9A2C5" (Conexión incorrecta: Tableau no pudo conectarse a la fuente de datos. Código de error: FAB9A2C5)
SQL0101N The statement is too long or too complex (La declaración es demasiado larga o compleja)
https://www.ibm.com/support/pages/sql0101n-statement-too-long-or-too-complex
stmtheap - Statement heap size configuration parameter (Parámetro de configuración de tamaño del montón de la condición)
https://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/com.ibm.db2.luw.admin.config.doc/doc/r0000277.html
El tamaño actual de "STMTHEAP" puede determinarse en Tableau Desktop mediante una consulta SQL personalizada.
1. Abra Tableau Desktop
2. Conéctese a la fuente de datos DB2 de IBM.
3. Seleccione un esquema.
4. Arrastre "Nuevo SQL personalizado" a la ventana de conexión de datos.
5. Escriba la siguiente consulta SQL y haga clic en Aceptar:
SELECT NAME, VALUE, VALUE_FLAGS, MEMBER
FROM SYSIBMADM.DBCFG
WHERE NAME = 'stmtheap'
También verá el siguiente error en los registros de Tableau Server.
##Vizqlserver##
{"ts":"2021-02-11T18:05:58.142","pid":36408,"tid":"c5a0","sev":"warn","req":"-","sess":"-","site":"-","user":"-","k":"msg","e":{"excp-error-code":"0xFAB9A2C5","excp-source":"NeedsClassification","excp-status-code":"UNKNOWN"},"v":"dsClass: db2, sql state: 54001, native error: -101, error description: [IBM][CLI Driver][DB2/AIX64] SQL0101N The statement is too long or too complex. SQLSTATE=54001\
001534185

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.