<?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: Copy Into command to copy into delta table with predefined schema  and csv file has no headers in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/copy-into-command-to-copy-into-delta-table-with-predefined/m-p/64951#M3165</link>
    <description>&lt;P&gt;Does your source data have same number of columns as your target Delta tables? In that case, you can do it this way:&lt;BR /&gt;COPY INTO my_pipe_data&lt;BR /&gt;FROM 's3://my-bucket/pipeData'&lt;BR /&gt;FILEFORMAT = CSV&lt;BR /&gt;FORMAT_OPTIONS ('mergeSchema' = 'true',&lt;BR /&gt;'delimiter' = '|',&lt;BR /&gt;'header' = 'true')&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2024 18:10:27 GMT</pubDate>
    <dc:creator>Lakshay</dc:creator>
    <dc:date>2024-03-28T18:10:27Z</dc:date>
    <item>
      <title>Copy Into command to copy into delta table with predefined schema  and csv file has no headers</title>
      <link>https://community.databricks.com/t5/machine-learning/copy-into-command-to-copy-into-delta-table-with-predefined/m-p/64878#M3164</link>
      <description>&lt;P&gt;How do i use copy into command to load 200+ tables with 50+ columns into a delta lake table with predefined schema. I am looking for a more generic approach to be handled in pyspark code.&lt;/P&gt;&lt;P&gt;I am aware that we can pass the column expression into the select clause but passing column name into the select clause seems to be more tedious task.&lt;/P&gt;&lt;P&gt;any help over this is really appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 07:28:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/copy-into-command-to-copy-into-delta-table-with-predefined/m-p/64878#M3164</guid>
      <dc:creator>DataInsight</dc:creator>
      <dc:date>2024-03-28T07:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Into command to copy into delta table with predefined schema  and csv file has no headers</title>
      <link>https://community.databricks.com/t5/machine-learning/copy-into-command-to-copy-into-delta-table-with-predefined/m-p/64951#M3165</link>
      <description>&lt;P&gt;Does your source data have same number of columns as your target Delta tables? In that case, you can do it this way:&lt;BR /&gt;COPY INTO my_pipe_data&lt;BR /&gt;FROM 's3://my-bucket/pipeData'&lt;BR /&gt;FILEFORMAT = CSV&lt;BR /&gt;FORMAT_OPTIONS ('mergeSchema' = 'true',&lt;BR /&gt;'delimiter' = '|',&lt;BR /&gt;'header' = 'true')&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 18:10:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/copy-into-command-to-copy-into-delta-table-with-predefined/m-p/64951#M3165</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2024-03-28T18:10:27Z</dc:date>
    </item>
  </channel>
</rss>

