<?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: Data Ingestion Lakeflow UI Bug - Does not allow to create streaming table with BINARY data type in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/data-ingestion-lakeflow-ui-bug-does-not-allow-to-create/m-p/175511#M57013</link>
    <description>&lt;P data-pm-slice="1 1 []"&gt;Reading the PDFs with the &lt;CODE&gt;binaryFile&lt;/CODE&gt; format returns a fixed schema (&lt;CODE&gt;path&lt;/CODE&gt;, &lt;CODE&gt;modificationTime&lt;/CODE&gt;, &lt;CODE&gt;length&lt;/CODE&gt;, &lt;CODE&gt;content&lt;/CODE&gt;) with &lt;CODE&gt;content&lt;/CODE&gt; already typed as BINARY, so there's no column type to set (&lt;A href="https://docs.databricks.com/aws/en/query/formats/binary" target="_blank" rel="noopener"&gt;binary file data source&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/functions/read_files" target="_blank" rel="noopener"&gt;read_files&lt;/A&gt;). You can run this in the SQL editor on a pro or serverless SQL warehouse (&lt;A href="https://docs.databricks.com/aws/en/sql/mv-st/compute" target="_blank" rel="noopener"&gt;requirements) :&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-sql"&gt;CREATE OR REFRESH STREAMING TABLE &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.pdf_raw
AS SELECT * FROM STREAM read_files(
  '/Volumes/&amp;lt;catalog&amp;gt;/&amp;lt;schema&amp;gt;/&amp;lt;volume&amp;gt;/&amp;lt;folder&amp;gt;/',
  format =&amp;gt; 'binaryFile',
  fileNamePattern =&amp;gt; '*.{pdf,PDF}'
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Add &lt;CODE&gt;SCHEDULE EVERY 1 hour&lt;/CODE&gt; after the table name if you want scheduled refreshes (&lt;A href="https://docs.databricks.com/aws/en/sql/mv-st/streaming" target="_blank" rel="noopener"&gt;standalone streaming tables&lt;/A&gt;).&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2026 04:54:26 GMT</pubDate>
    <dc:creator>AbhilashNagilla</dc:creator>
    <dc:date>2026-11-04T04:54:26Z</dc:date>
    <item>
      <title>Data Ingestion Lakeflow UI Bug - Does not allow to create streaming table with BINARY data type</title>
      <link>https://community.databricks.com/t5/data-engineering/data-ingestion-lakeflow-ui-bug-does-not-allow-to-create/m-p/175448#M57003</link>
      <description>&lt;P&gt;Data Ingestion (Lakeflow) Feature Bug:&lt;/P&gt;&lt;P&gt;While creating Data Ingestion streaming table for ingesting pdf files, so that it can store into Binary format, it doesn't allow to select for BINARY data type for a column like (content), but it chose default data type as String, which gives error as Data Type mismatch.&lt;/P&gt;&lt;P&gt;This bug needs to be fixed by Databricks&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2026 10:38:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/data-ingestion-lakeflow-ui-bug-does-not-allow-to-create/m-p/175448#M57003</guid>
      <dc:creator>kapil_dua</dc:creator>
      <dc:date>2026-11-03T10:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data Ingestion Lakeflow UI Bug - Does not allow to create streaming table with BINARY data type</title>
      <link>https://community.databricks.com/t5/data-engineering/data-ingestion-lakeflow-ui-bug-does-not-allow-to-create/m-p/175511#M57013</link>
      <description>&lt;P data-pm-slice="1 1 []"&gt;Reading the PDFs with the &lt;CODE&gt;binaryFile&lt;/CODE&gt; format returns a fixed schema (&lt;CODE&gt;path&lt;/CODE&gt;, &lt;CODE&gt;modificationTime&lt;/CODE&gt;, &lt;CODE&gt;length&lt;/CODE&gt;, &lt;CODE&gt;content&lt;/CODE&gt;) with &lt;CODE&gt;content&lt;/CODE&gt; already typed as BINARY, so there's no column type to set (&lt;A href="https://docs.databricks.com/aws/en/query/formats/binary" target="_blank" rel="noopener"&gt;binary file data source&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/functions/read_files" target="_blank" rel="noopener"&gt;read_files&lt;/A&gt;). You can run this in the SQL editor on a pro or serverless SQL warehouse (&lt;A href="https://docs.databricks.com/aws/en/sql/mv-st/compute" target="_blank" rel="noopener"&gt;requirements) :&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-sql"&gt;CREATE OR REFRESH STREAMING TABLE &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.pdf_raw
AS SELECT * FROM STREAM read_files(
  '/Volumes/&amp;lt;catalog&amp;gt;/&amp;lt;schema&amp;gt;/&amp;lt;volume&amp;gt;/&amp;lt;folder&amp;gt;/',
  format =&amp;gt; 'binaryFile',
  fileNamePattern =&amp;gt; '*.{pdf,PDF}'
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Add &lt;CODE&gt;SCHEDULE EVERY 1 hour&lt;/CODE&gt; after the table name if you want scheduled refreshes (&lt;A href="https://docs.databricks.com/aws/en/sql/mv-st/streaming" target="_blank" rel="noopener"&gt;standalone streaming tables&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2026 04:54:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/data-ingestion-lakeflow-ui-bug-does-not-allow-to-create/m-p/175511#M57013</guid>
      <dc:creator>AbhilashNagilla</dc:creator>
      <dc:date>2026-11-04T04:54:26Z</dc:date>
    </item>
  </channel>
</rss>

