SAP Knowledge Base Article - Preview

3278495 - [CamelJdbcAdapter] SELECT query causes syntax error - SAP HANA Smart Data Integration

Symptom

  • Connection test works towards Azure Databricks / Snowflake / MySQL through an SDI CamelJDBCAdapter remote source.
  • Able to retrieve the table list from the remote source and browse the remote object list.
  • Running a SQL statement in a isql session (e.g. HANA ODBC Databricks connection) retrieves the result.
  • Running a simple SELECT query via the SDI remote source throws the following error:
    • SELECT "DatabricksTest"."date", "DatabricksTest"."client_id", "DatabricksTest"."engagement_score", "DatabricksTest"."date_part" FROM "clean"."databricks_test_table_ci_cd_csv" "DatabricksTest" [PARSE_SYNTAX_ERROR] org.apache.spark.sql.catalyst.parser.ParseException: [PARSE_SYNTAX_ERROR] Syntax error at or near '"date"'
  • The above example is taken from Databricks. The exact error message might differ between databases, but it is always a SQL syntax error (e.g. "java.sql.SQLSyntaxErrorException").


Read more...

Environment

  • SAP HANA Smart Data Integration
  • CamelJdbcAdapter

Product

SAP HANA 1.0 smart data integration ; SAP HANA smart data integration 2.0

Keywords

CamelJdbcAdapter, databricks, parsing, starrocks, snowflake, mysql, syntax error, delimident, delimiter , KBA , HAN-DP-SDI , SAP HANA smart data integration (SDI) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.