After an upgrade to Tableau Desktop/Server 2018.2 or higher, views that connect to DB2 using relative date filters may experience the following error:
"[IBM][CLI Driver][DB2] SQL0401N The data types of the operands for the operation "" are not compatible or comparable. SQLSTATE=42818"
Such behavior can occur during:
- Data refreshes for workbooks with DB2 connections created prior to 2018.2
- Workbook creation/editing when adding a relative date filter into a view using DB2 connection in 2018.2 or later