Microsoft Fabric OneLake Connector > Troubleshooting > Troubleshooting a mapping in advanced mode
  

Troubleshooting a mapping in advanced mode

Mapping configured to read or write Date and Int96 data types for Parquet file fails
A mapping configured to read from or write to a Parquet file fails in the following cases:
To resolve this issue, specify the following spark session properties in the mapping task or in the custom properties file for the Secure Agent:
Mapping fails when you write data to flat files
When you write data to flat files in Microsoft Fabric OneLake, the mapping fails with the following error: Caused by: java.io.IOException: Failed to rename VersionedFileStatus{VersionedFileStatus
To resolve this issue, perform the following steps:
  1. 1Under Spark Session Properties, click Add and select spark.custom.property in the Session Property Name field.
  2. 2In the Session Property Value field, specify the following property and set its value to DIRECT:
  3. infaspark.flatfile.writer.committer.name
    For example, infaspark.flatfile.writer.committer.name=DIRECT