<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Failed to import datetime string from .csv file in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Failed-to-import-datetime-string-from-csv-file/m-p/3470226#M44874</link>
    <description>&lt;P&gt;Hello PowerBI Experts,&lt;/P&gt;&lt;P&gt;We have a .csv files which contains header line and a datetime field such as:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;OrderID, CreateDate, ItemName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;123456, 2023-10-04 19:48:47.123456, ApplePie&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I tried to import this .csv file (from AWS S3) into my DW via creating a new "Data pipeline (Preview)", in the step "Connect to data destination", I specify the OrderDate as Datetime, and the destination field name as "CreateDatetime". When I execute it, I got the following error:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;ErrorCode=UserErrorSqlDWCopyCommandError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=SQL DW Copy Command operation failed with error 'Column 'CreateDatetime' of type 'DATETIME2' is not compatible with external data type 'Parquet physical type: BYTE_ARRAY, logical type: UTF8', please try with 'VARCHAR(8000)'.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried to change the date field in different formats such as:&lt;/P&gt;&lt;P&gt;2023-10-04 19:48:47&lt;/P&gt;&lt;P&gt;2023-10-04T19:48:47&lt;/P&gt;&lt;P&gt;2023-10-04T19:48:47.123456&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;but still getting the same error.&lt;/P&gt;&lt;P&gt;Would you please help? Thanks so much!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2023 04:26:21 GMT</pubDate>
    <dc:creator>thomasdang</dc:creator>
    <dc:date>2023-10-11T04:26:21Z</dc:date>
    <item>
      <title>Failed to import datetime string from .csv file</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Failed-to-import-datetime-string-from-csv-file/m-p/3470226#M44874</link>
      <description>&lt;P&gt;Hello PowerBI Experts,&lt;/P&gt;&lt;P&gt;We have a .csv files which contains header line and a datetime field such as:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;OrderID, CreateDate, ItemName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;123456, 2023-10-04 19:48:47.123456, ApplePie&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I tried to import this .csv file (from AWS S3) into my DW via creating a new "Data pipeline (Preview)", in the step "Connect to data destination", I specify the OrderDate as Datetime, and the destination field name as "CreateDatetime". When I execute it, I got the following error:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;ErrorCode=UserErrorSqlDWCopyCommandError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=SQL DW Copy Command operation failed with error 'Column 'CreateDatetime' of type 'DATETIME2' is not compatible with external data type 'Parquet physical type: BYTE_ARRAY, logical type: UTF8', please try with 'VARCHAR(8000)'.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried to change the date field in different formats such as:&lt;/P&gt;&lt;P&gt;2023-10-04 19:48:47&lt;/P&gt;&lt;P&gt;2023-10-04T19:48:47&lt;/P&gt;&lt;P&gt;2023-10-04T19:48:47.123456&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;but still getting the same error.&lt;/P&gt;&lt;P&gt;Would you please help? Thanks so much!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 04:26:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Failed-to-import-datetime-string-from-csv-file/m-p/3470226#M44874</guid>
      <dc:creator>thomasdang</dc:creator>
      <dc:date>2023-10-11T04:26:21Z</dc:date>
    </item>
  </channel>
</rss>

