<?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 Question regarding ZORDER option of OPTIMIZE in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/question-regarding-zorder-option-of-optimize/m-p/27578#M19443</link>
    <description>&lt;P&gt;Is the order of the columns in ZORDER important? For example, does ZORDER BY (product, site) and ZORDER BY (site, product) produce the same results?&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 10:48:17 GMT</pubDate>
    <dc:creator>leos1</dc:creator>
    <dc:date>2022-10-13T10:48:17Z</dc:date>
    <item>
      <title>Question regarding ZORDER option of OPTIMIZE</title>
      <link>https://community.databricks.com/t5/data-engineering/question-regarding-zorder-option-of-optimize/m-p/27578#M19443</link>
      <description>&lt;P&gt;Is the order of the columns in ZORDER important? For example, does ZORDER BY (product, site) and ZORDER BY (site, product) produce the same results?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 10:48:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/question-regarding-zorder-option-of-optimize/m-p/27578#M19443</guid>
      <dc:creator>leos1</dc:creator>
      <dc:date>2022-10-13T10:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding ZORDER option of OPTIMIZE</title>
      <link>https://community.databricks.com/t5/data-engineering/question-regarding-zorder-option-of-optimize/m-p/27579#M19444</link>
      <description>&lt;P&gt;It is not important, or at least way less important than with a linear order by.&lt;/P&gt;&lt;P&gt;I cannot guarantee that the resulting files will be exactly the same, but z-ordering is not the same as a classic order by where we first order by col1 and then col2 etc. It will interleave the order columns and aim for locality on this 'combined' column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 14:25:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/question-regarding-zorder-option-of-optimize/m-p/27579#M19444</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2022-10-13T14:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding ZORDER option of OPTIMIZE</title>
      <link>https://community.databricks.com/t5/data-engineering/question-regarding-zorder-option-of-optimize/m-p/27580#M19445</link>
      <description>&lt;P&gt;thanks for the quick reply&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:06:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/question-regarding-zorder-option-of-optimize/m-p/27580#M19445</guid>
      <dc:creator>leos1</dc:creator>
      <dc:date>2022-10-13T15:06:38Z</dc:date>
    </item>
  </channel>
</rss>

