How to check a parquet file version in synapse?

Zhu, Yueli YZ [NC] 280 Reputation points
2024-10-30T18:00:06.6333333+00:00

Hi,

I tried to copy a parquet file to csv format in gen2 by using copy activity, but failed. It shows the following error:

{ "errorCode": "2200", "message": "ErrorCode=ParquetDateTimeExceedLimit,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The Ticks value '-621357696000000000' for the datetime column must be between valid datetime ticks range -621355968000000000 and 2534022144000000000.,Source=Microsoft.DataTransfer.Richfile.ParquetTransferPlugin,'", "failureType": "UserError", "target": "Parquet to csv", "details": [] }

When I used another parquet file with ParquetV2 to copy parquet into csv file, it throws another error:

"errorCode": "2200", "message": "ErrorCode=InvalidTimestampValue,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The column with index 57 contains invalid TIMESTAMP value.,Source=Microsoft.DataTransfer.Richfile.ParquetTransferPlugin,'", "failureType": "UserError", "target": "Parquet2 to csv", "details": []

So, how can I solve this issue? And also how can I check the parquet format version for the parquet file?

Thanks,

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
{count} votes

Answer accepted by question author
  1. Chandra Boorla 15,460 Reputation points Microsoft External Staff Moderator
    2024-10-30T20:18:47.1033333+00:00

    Hi @Zhu, Yueli YZ [NC]

    Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!

    The errors you are encountering with Parquet to CSV conversion in Azure Synapse Analytics often arise due to invalid or out-of-range datetime and timestamp values in the Parquet files.

    User's image

    For additional information, please refer: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-orc#error-code-orcdatetimeexceedlimit

    Please refer to the below thread link which discussed on the similar issue and that might help you.

    https://learn.microsoft.com/en-us/answers/questions/2045695/the-ticks-value-for-the-datetime-column-must-be-be

    I hope this information helps. Please do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.