<?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 Re: Load txt pole (|) separated file to delta table in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Load-txt-pole-separated-file-to-delta-table/m-p/4397620#M6985</link>
    <description>&lt;P&gt;is there any approch for incremental data? if S3 txt gets updated , will have to again run the dataframe to pull updated table and that's bit tedious job.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 06:57:29 GMT</pubDate>
    <dc:creator>akkibuddy7</dc:creator>
    <dc:date>2025-02-06T06:57:29Z</dc:date>
    <item>
      <title>Load txt pole (|) separated file to delta table</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Load-txt-pole-separated-file-to-delta-table/m-p/4395658#M6938</link>
      <description>&lt;P&gt;fabric is giving error when loading txt file with pole separated to delta table. any idea how to load such files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 06:44:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Load-txt-pole-separated-file-to-delta-table/m-p/4395658#M6938</guid>
      <dc:creator>akkibuddy7</dc:creator>
      <dc:date>2025-02-05T06:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Load txt pole (|) separated file to delta table</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Load-txt-pole-separated-file-to-delta-table/m-p/4395928#M6940</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="924673" data-lia-user-login="akkibuddy7" class="lia-mention lia-mention-user"&gt;akkibuddy7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You cannot use load to table option with | delimited files. That option is for csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you have to use spark notebook to load to tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;df = spark.read.format("csv") \&lt;BR /&gt;.option("header", "true") \ # Set to 'false' if no header row exists&lt;BR /&gt;.option("delimiter", "|") \&lt;BR /&gt;.load("/path/to/your/file.txt")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;df.write.format("delta").mode("overwrite").saveAsTable("table_name")&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If this is helpful please accept the answer and give kudos&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 08:24:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Load-txt-pole-separated-file-to-delta-table/m-p/4395928#M6940</guid>
      <dc:creator>nilendraFabric</dc:creator>
      <dc:date>2025-02-05T08:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Load txt pole (|) separated file to delta table</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Load-txt-pole-separated-file-to-delta-table/m-p/4396004#M6945</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Realized few min back the same appoch ! but your code solves the issue Thanks again!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 09:20:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Load-txt-pole-separated-file-to-delta-table/m-p/4396004#M6945</guid>
      <dc:creator>akkibuddy7</dc:creator>
      <dc:date>2025-02-05T09:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load txt pole (|) separated file to delta table</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Load-txt-pole-separated-file-to-delta-table/m-p/4397620#M6985</link>
      <description>&lt;P&gt;is there any approch for incremental data? if S3 txt gets updated , will have to again run the dataframe to pull updated table and that's bit tedious job.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 06:57:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Load-txt-pole-separated-file-to-delta-table/m-p/4397620#M6985</guid>
      <dc:creator>akkibuddy7</dc:creator>
      <dc:date>2025-02-06T06:57:29Z</dc:date>
    </item>
  </channel>
</rss>

