Sql server to Parquet file date missmatch using ADF copy data activity

gajanan choure 56 Reputation points
2022-06-13T07:02:07.37+00:00

Hi ,

I am doing copy data activity in adf
Source - Sql server
Sink - parquet file
When doing copy Date field is changing
From 0001-01-01 is changing to 0001-01-03 in parquet.
It is incrementing the day by 2 in parquet file.

Why is it so ?

Thank you.

SQL Server on Azure Virtual Machines
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,465 questions
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 38,521 Reputation points Microsoft Employee
    2022-06-14T10:30:05.367+00:00

    Hi @gajanan choure ,

    Thank you for posting query in Microsoft Q&A Platform.

    I tried to reproduce scenario. Its working fine for me. Data is not getting changed. Dates are getting copied properly.

    In below example, I tried to copy data from SQL table to Parquet file in ADLS Gen2. Kindly check below screenshots.

    211210-image.png

    211278-image.png

    211341-image.png

    So I don't see issue with Product or service. Kindly cross check your implementation with above screenshots and see if some where some configuration has to be corrected or make be your data validation logic may populating incorrect errors?

    Hope this helps. Please let us know if any further queries.

    --------------

    Please consider hitting Accept Answer button. Accepted answers help community as well.


0 additional answers

Sort by: Most helpful

Your answer

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