Symptom
- Error: "An internal server error occurred in the Data Acquisition Service", when choosing build a query from datasets connection to databricks, in SAP Analytics Cloud.
- Choosing Edit > Query on affected import job gives similar error message.
- Tomcat logs show error:
"Error occurred in the SAP Analytics Cloud agent Service: "[Simba][SparkJDBCDriver](500051) ERROR processing query/statement.
Error Code: 0, SQL state: org.apache.hive.service.cli.HiveSQLException: Error running query: [UNRESOLVED_COLUMN.WITH_SUGGESTION] org.apache.spark.sql.catalyst.ExtendedAnalysisException:
[UNRESOLVED_COLUMN.WITH_SUGGESTION] A column, variable, or function parameter with name `column_key` cannot be resolved. Did you mean one of the following?
[`column_name`, `column_default`, `comment`, `table_name`, `data_type`]. SQLSTATE: 42703;"
Environment
SAC Analytics Cloud 2025.14.17
Reproducing the Issue
- Login to SAP Analytics Cloud.
- Navigate to the Databrick dataset
- Click: "from a data source"
- Select: "SQL databases"
- For the Connection type, select: "Generic JDBC connection"
- For connection, select: "databricks"
- Click next and choose build a query
- Notice the error message "An internal server error occurred in the Data Acquisition Service..."
Cause
- Databricks has a non-standard query specification, therefore using the Generic JDBC datasource is not fully compatible during the initial creation or edit workflow, and causes the error.
Resolution
-
Update the SAC agent driver properties file to enable native Databricks connection.
-
Add to the SAC agent driver properties file the Databrick connection. It will look like:
Databricks=C:\JDBCDriver\DatabricksJDBC42.jar -
Create a new Databricks connection with connection type Databricks.
-
- Note: If you want to use the Generic JDBC connection to Databrick, use the Freehand SQL method instead of Build a Query, but note that the Edit query is disabled for Freehand SQL method.
Keywords
sac, query, table, databricks, datasets, databrick, dataset, SQL, , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem
Product
SAP Analytics Cloud 1.0
SAP Knowledge Base Article - Public