<?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 How to identify S3 object type (directory or file) created by Databricks? in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/how-to-identify-s3-object-type-directory-or-file-created-by/m-p/10988#M546</link>
    <description>&lt;P&gt;The issue context is Delta Lake connector in Trino  &lt;A href="https://github.com/trinodb/trino/issues/13017" target="test_blank"&gt;https://github.com/trinodb/trino/issues/13017&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trino identifies S3 object as a directory or a file using Content-Type header. Other query engines set application/x-directory in case of directories, but Databricks sets application/octet-stream in the header. Is there an alternative solution to identifies the object type using com.amazonaws.services.s3.model.ObjectMetadata when we use Databricks? If not, is it possible to request the header change? &lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2022 03:01:37 GMT</pubDate>
    <dc:creator>ebyhry</dc:creator>
    <dc:date>2022-08-08T03:01:37Z</dc:date>
    <item>
      <title>How to identify S3 object type (directory or file) created by Databricks?</title>
      <link>https://community.databricks.com/t5/machine-learning/how-to-identify-s3-object-type-directory-or-file-created-by/m-p/10988#M546</link>
      <description>&lt;P&gt;The issue context is Delta Lake connector in Trino  &lt;A href="https://github.com/trinodb/trino/issues/13017" target="test_blank"&gt;https://github.com/trinodb/trino/issues/13017&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trino identifies S3 object as a directory or a file using Content-Type header. Other query engines set application/x-directory in case of directories, but Databricks sets application/octet-stream in the header. Is there an alternative solution to identifies the object type using com.amazonaws.services.s3.model.ObjectMetadata when we use Databricks? If not, is it possible to request the header change? &lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 03:01:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/how-to-identify-s3-object-type-directory-or-file-created-by/m-p/10988#M546</guid>
      <dc:creator>ebyhry</dc:creator>
      <dc:date>2022-08-08T03:01:37Z</dc:date>
    </item>
  </channel>
</rss>

