When connecting to Databricks from Tableau Desktop, if a String field has more than 255 characters, the string will be truncated to 255 characters.
The truncation of the 'string' field to 255 characters is caused by a default String Column Length within SparkSQL ODBC driver.
Use a TDC file to increase the String Column Length:
| <?xml version='1.0' encoding='utf-8' ?> <connection-customization class='databricks' enabled='true' version='10.4'> <vendor name='databricks'/> <driver name='databricks'/> <customizations> <customization name='odbc-connect-string-extras' value='DefaultStringColumnLength=500' /> </customizations> </connection-customization> |
Option 2
Change the default value from DSN setup and then use Other Databases (ODBC) connector:
001496542
0 KB

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.