Issue
After upgrading Tableau Server or Tableau Desktop to version 2023.2.9, 2023.3.6, 2024.2, 2025.1, or 2025.3 and later, workbooks that connect to Microsoft SQL Server (or Azure SQL Database) via Stored Procedures may fail to load.
The following error message is displayed:
[Microsoft][ODBC Driver 17 for SQL Server]Restricted data type attribute violation
[Microsoft][ODBC Driver 18 for SQL Server]Restricted data type attribute violation
You may also see additional details such as:
Field '[FieldName]' domain cannot be calculated correctly.
Environment
Cause:
This issue is caused by a change in the Query Pipeline (QP) component introduced in past maintenance releases.
When processing results from a Stored Procedure, Tableau incorrectly attempts to bind certain data types (such as DATE or String types) as Integers (BigInt). The SQL Server ODBC Driver rejects this implicit conversion request (e.g., DATE to Integer) with a "Restricted data type attribute violation" error.
To resolve this issue, disable the QueryPipeline_UseStoredProcRelationOp feature flag.
tsm configuration set -k features.QueryPipeline_UseStoredProcRelationOp -v false
tsm pending-changes apply
Close Tableau Desktop and launch it from the command line with the override flag.
Windows:
"C:\Program Files\Tableau\Tableau 20xx.x\bin\tableau.exe" -DOverride=QueryPipeline_UseStoredProcRelationOp:off
Mac:
/Applications/Tableau\ Desktop\ 20xx.x.app/Contents/MacOS/Tableau -DOverride=QueryPipeline_UseStoredProcRelationOp:off
This behavior is currently under investigation by Salesforce Engineering for a permanent fix in a future release.
005232928

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.