Convert date in string to datetime2 SQL type in Data Factory

Paul Finol 171 Reputation points
2021-04-06T17:02:42.313+00:00

I used the derived column to convert format dd-MM-yyyy HH:mm:ss to datetime format yyyy-MM-dd HH:mm:SS

toString(toTimestamp(Fecha_dep,'dd-MM-yyyy HH:mm:ss'),'yyyy-MM-dd HH:mm:SS')

84953-image.png

the result is good and now the format is the required, no I need to import this value to SQL
My pipeline copies from SFTP to Blob as text then from blob to blob as parquet and finally from blob to SQL

84925-image.png

the conversion84966-image.png is done in derived column

84981-image.png

finally the result should be taken by last copy activity to SQL

84840-image.png

Here the datetime format should recognize the format and idenitify it

84967-image.png

but i get this warning in the mapping

84968-image.png

and this error when the pipeline runs

84955-image.png

i also tried to have timestamp as final data format before exporting to SQL but the result is the same

is there an specific format required for parquet ?¿

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,545 questions
0 comments No comments
{count} vote

Accepted answer
  1. Paul Finol 171 Reputation points
    2021-04-06T17:06:10.533+00:00

    I just installed this software to read parquet files, i dont know if it really works but it seems the conversion is not applied. according to the data preview should be OK

    84991-image.png


0 additional answers

Sort by: Most helpful