| Products | Versions |
|---|---|
| Spotfire Server | 11.4.8 and higher |
The issue manifests when a Databricks JDBC data source is configured in Spotfire, and users attempt to expand it within the Information Designer. The following error message appears:
RPC ListTableSummaries Field managedcatalog.ListTableSummaries.catalog_name: name "" is not a valid name. Valid names must contain only alphanumeric characters and underscores, and cannot contain spaces, periods, forward slashes, or control characters.
This error indicates that Databricks has changed its behavior, no longer permitting an empty catalog name when the getTables() method is invoked by the JDBC driver. Historically, the JDBC standard allowed getTables() to be called without providing a schema. Spotfire's Information Services initially relied on getTables() for schema retrieval. While a getSchemas() method was later introduced in JDBC, Spotfire maintained the default use of getTables() for backward compatibility and to avoid breaking existing customer configurations. Support for getSchemas() was implemented in Information Services but was set to false by default to prevent unintended changes for existing users.
All
To resolve this issue, enable the use-get-schemas parameter in the Databricks data source template. This instructs Spotfire to use the getSchemas() method instead of getTables() for retrieving schema information, which is compatible with the updated Databricks behavior.
Note: use-get-schemas xml setting was introduced from 11.4.8 Spotfire server version onward.
When attempting to expand a Databricks JDBC data source in Spotfire Information Designer, users encounter following error message:
RPC ListTableSummaries Field managedcatalog.ListTableSummaries.catalog_name: name "" is not a valid name. Valid names must contain only alphanumeric characters and underscores, and cannot contain spaces, periods, forward slashes, or control characters.
Note: The behavior is observed while using driver version 3.x and later which is a Databricks branded driver.
Doc: XML settings for data source templates