Table of Contents

Search

  1. Preface
  2. Introduction to Databricks Delta Connector
  3. Connections for Databricks Delta
  4. Mappings for Databricks Delta
  5. Migrating a mapping
  6. Databricks Delta SQL ELT optimization
  7. Data type reference

Databricks Delta Connector

Databricks Delta Connector

Troubleshooting SQL ELT optimization

Troubleshooting
SQL ELT optimization

Mapping fails when configured to read date or timestamp information and write to default date/time format
When you configure a mapping to read date or timestamp information from a string column and process the data with the default date/time format to write to Databricks Delta target, the mapping fails with the following error:
[ERROR] The Secure Agent failed to run the full pushdown query due to the following error: [Invalid timestamp: '12/31/1972 00:00:00.000001']
To resolve this issue, set the JVM option
-DHonorInfaDateFormat=true
for the Secure Agent.
Perform the following steps to configure the JVM option in Administrator:
  1. Select
    Administrator
    Runtime Environments
    .
  2. On the Runtime Environments page, select the Secure Agent machine that runs the mapping.
  3. Click
    Edit
    .
  4. In the System Configuration Details section, select
    Data Integration Server
    as the Service and
    DTM
    as the Type.
  5. Edit the JVMOption system property and set the value to
    -DHonorInfaDateFormat=true
    .
  6. Click
    Save
    .
IS_DATE(), IS_SPACES(), and IS_NUMBER() functions return 0 or 1 instead of True or False.
When you use IS_DATE(), IS_SPACES(), and IS_NUMBER() functions, the functions return 0 or 1 instead of True or False.
To resolve this issue, set the JVM option
-DDeltaSQLELTBooleanReturnAsString=true
for the Secure Agent.
Perform the following steps to configure the JVM option in Administrator:
  1. Select
    Administrator
    Runtime Environments
    .
  2. On the Runtime Environments page, select the Secure Agent machine that runs the mapping.
  3. Click
    Edit
    .
  4. In the System Configuration Details section, select
    Data Integration Server
    as the Service and
    DTM
    as the Type.
  5. Edit the JVMOption system property and set the value to
    -DDeltaSQLELTBooleanReturnAsString=true
    .
  6. Click
    Save
    .

0 COMMENTS

We’d like to hear from you!