<?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: V-Order Functionality in Fabric Notebook in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377558#M259</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/599172"&gt;@DennesTorres&lt;/a&gt;&amp;nbsp;I checked at metadata level of parquet files using pyarrow and printing dataset level schema for the table using below function .. i still dont see any metatadata related to Vorder ..not sure what i am missing ..can you test this at your end and see do you also seeing same behaviour ??&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; pyarrow.dataset &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; pq&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;def&lt;/SPAN&gt;&lt;SPAN&gt; print_metadata(delta_file_path):&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Print schema metadata&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"\nSchema Metadata:"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"--------------------"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; schema_metadata = pq.dataset(delta_file_path).schema.metadata&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; schema_metadata:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt; key, value &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; schema_metadata.items():&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(f&lt;/SPAN&gt;&lt;SPAN&gt;"{key.decode('utf-8')}: {value.decode('utf-8')}"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"No schema metadata found."&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Test the function with a path to your delta file&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# print_metadata('//lakehouse/default/Tables/table_name')&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Aug 2023 22:14:30 GMT</pubDate>
    <dc:creator>puneetvijwani</dc:creator>
    <dc:date>2023-08-12T22:14:30Z</dc:date>
    <item>
      <title>V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377449#M255</link>
      <description>&lt;P&gt;I've been experiencing an issue with my scripts over Fabric Notebooks in terms of optimization . I've been trying to control the V-Order functionality in data loading processes. According to the documentation and examples provided, it should be feasible to control the Parquet V-Order at the DataFrame level using the parquet.vorder.enabled option and if the &lt;U&gt;V order option is disabled at session level&lt;/U&gt; i can control this by additional syntax…. I am following this article.&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/delta-optimization-and-v-order?tabs=sparksql" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-engineering/delta-optimization-and-v-order?tabs=sparksql&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="epunvij_0-1691859175838.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/954687i436CE674E04A347B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="epunvij_0-1691859175838.png" alt="epunvij_0-1691859175838.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, attempt to execute this is unsuccessful. I’ve written script to write data to the Delta format with the V-Order alternately enabled and disabled. But despite this, both instances in the script seem to be executing with V-Order disabled for both of them in a single session&lt;BR /&gt;Here are the relevant sections of script:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="epunvij_1-1691859210488.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/954688iB353919014C7DBBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="epunvij_1-1691859210488.png" alt="epunvij_1-1691859210488.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="epunvij_2-1691859221880.png" style="width: 1028px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/954689i7A0E7116F2D93B66/image-dimensions/1028x78?v=v2" width="1028" height="78" role="button" title="epunvij_2-1691859221880.png" alt="epunvij_2-1691859221880.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've also looked through our delta logs for both files in Tables and in Files folder, but there are no traces of the Vorder tag to be found, which is puzzling and contrary.&lt;/P&gt;&lt;P&gt;The mentioned behaviour contradicts the following examples we found in the official documentation saying this might work if V order is set to false at session level .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;df_source.write\&lt;/P&gt;&lt;P&gt;&amp;nbsp; .format("delta")\&lt;/P&gt;&lt;P&gt;&amp;nbsp; .mode("overwrite")\&lt;/P&gt;&lt;P&gt;&amp;nbsp; .option("replaceWhere","start_date &amp;gt;= '2017-01-01' AND end_date &amp;lt;= '2017-01-31'")\&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; .option("parquet.vorder.enabled ","true")\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; .saveAsTable("myschema.mytable")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the confusion I thought I could use some community&amp;nbsp; guidance ,Wondering any additional configurations or prerequisites to control V-Order by disabling at session level and manually control it when writing the file &amp;nbsp;or anything I &amp;nbsp;may have missed?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 16:58:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377449#M255</guid>
      <dc:creator>puneetvijwani</dc:creator>
      <dc:date>2023-08-12T16:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377505#M256</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;About this:&lt;BR /&gt;&lt;BR /&gt;"&lt;SPAN&gt;But despite this, both instances in the script seem to be executing with V-Order disabled for both of them in a single session&lt;/SPAN&gt;"&lt;BR /&gt;&lt;BR /&gt;How do you know the v-order was disabled?&lt;BR /&gt;&lt;BR /&gt;"&lt;SPAN&gt;We've also looked through our delta logs for both files in Tables and in Files folder, but there are no traces of the Vorder tag to be found, which is puzzling and contrary."&lt;BR /&gt;&lt;BR /&gt;Could you give more details about this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have been working on a related challenge: How to identify if an existing table was created with v-order enabled or not?&lt;BR /&gt;&lt;BR /&gt;Here is a thread about my investigation:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/General-Discussion/How-to-list-Table-Properties/m-p/3371301" target="_blank"&gt;https://community.fabric.microsoft.com/t5/General-Discussion/How-to-list-Table-Properties/m-p/3371301&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Another one which may or may not be related:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Issues/Workspace-level-boolean-spark-configurations-appear-empty-when/idc-p/3373826" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Issues/Workspace-level-boolean-spark-configurations-appear-empty-when/idc-p/3373826&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dennes&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 19:48:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377505#M256</guid>
      <dc:creator>DennesTorres</dc:creator>
      <dc:date>2023-08-12T19:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377506#M257</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/599172"&gt;@DennesTorres&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;i am checking in one lake explorer mannualy&amp;nbsp;&lt;SPAN&gt;_delta_log files if VOrder Tag is present and is set to true&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can also write spark code to check the delta log details from notebook&amp;nbsp;&lt;BR /&gt;here is my code to read metadata of the table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tablebasepath=&lt;/SPAN&gt;&lt;SPAN&gt;"your path to the table "&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;tablename=f&lt;/SPAN&gt;&lt;SPAN&gt;'{tablebasepath}/_delta_log'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# Get a list of all JSON files in the _delta_log directory&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;log_files = [&lt;/SPAN&gt;&lt;SPAN&gt;file&lt;/SPAN&gt;&lt;SPAN&gt;.path &lt;/SPAN&gt;&lt;SPAN&gt;for&lt;/SPAN&gt; &lt;SPAN&gt;file&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; mssparkutils.fs.ls(tablename) &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;file&lt;/SPAN&gt;&lt;SPAN&gt;.name.endswith(&lt;/SPAN&gt;&lt;SPAN&gt;".json"&lt;/SPAN&gt;&lt;SPAN&gt;)]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# Check if there are any log files&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; log_files:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Read the first log file&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; data = mssparkutils.fs.head(log_files[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Print the contents of the file&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(data)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"No log files found."&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;However thanks for redirecting me to the issues page i should rather post this is an issue&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 12 Aug 2023 20:01:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377506#M257</guid>
      <dc:creator>puneetvijwani</dc:creator>
      <dc:date>2023-08-12T20:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377547#M258</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested your script. All the tables I have were marked with V-ORDER, but what caught my attention was that the V-ORDER was only a TAG, it was not on the metadata. Is this correct?&lt;BR /&gt;&lt;BR /&gt;I managed to turn off V-ORDER optimization on session level and the TAG disappeared. But after that I repeated your results: Trying to enable vorder for one specific write operation doesn't bring the TAG back.&lt;BR /&gt;&lt;BR /&gt;One detail about this and the article you are using is one mention to the fact that the write configuration will affect only the parquet files involved in the operation, not the entire table. Could this result in a table with mixed parquet files, some with the optimization and some not? Could this explain why the V-Order doesn't appear on table level ?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 21:26:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377547#M258</guid>
      <dc:creator>DennesTorres</dc:creator>
      <dc:date>2023-08-12T21:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377558#M259</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/599172"&gt;@DennesTorres&lt;/a&gt;&amp;nbsp;I checked at metadata level of parquet files using pyarrow and printing dataset level schema for the table using below function .. i still dont see any metatadata related to Vorder ..not sure what i am missing ..can you test this at your end and see do you also seeing same behaviour ??&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; pyarrow.dataset &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; pq&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;def&lt;/SPAN&gt;&lt;SPAN&gt; print_metadata(delta_file_path):&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Print schema metadata&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"\nSchema Metadata:"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"--------------------"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; schema_metadata = pq.dataset(delta_file_path).schema.metadata&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; schema_metadata:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt; key, value &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; schema_metadata.items():&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(f&lt;/SPAN&gt;&lt;SPAN&gt;"{key.decode('utf-8')}: {value.decode('utf-8')}"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"No schema metadata found."&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Test the function with a path to your delta file&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# print_metadata('//lakehouse/default/Tables/table_name')&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 22:14:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377558#M259</guid>
      <dc:creator>puneetvijwani</dc:creator>
      <dc:date>2023-08-12T22:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377563#M260</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I will check.&lt;BR /&gt;&lt;BR /&gt;But, this may be related to my previous comment: On the tables optimized by session level configuration, the V-ORDER optimization appears only as a TAG, it doesn't appear as metadata and I don't know exactly why. Would this mean the table is not optimized, or we need a different way to identify it is optmized ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DennesTorres_0-1691881457333.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/954722i52B047112FAFCE94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DennesTorres_0-1691881457333.png" alt="DennesTorres_0-1691881457333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When trying the optimization on the write, instead of session level, the TAG doesn't appear as well.&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dennes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 23:06:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377563#M260</guid>
      <dc:creator>DennesTorres</dc:creator>
      <dc:date>2023-08-12T23:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377711#M261</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/599172"&gt;@DennesTorres&lt;/a&gt;&amp;nbsp; to me it seems like a bug , when tables are not optimized at session level while they are at dataframe write level ( by adding&amp;nbsp; "parquet.vorder.enabled ","true")&amp;nbsp; even after that there seems no signs that it has been optimized in metadata/ logs not even at the time of its first creation&lt;BR /&gt;After doing&amp;nbsp; checks at&amp;nbsp; _delta logs and in the metadata and even table properties&lt;/P&gt;&lt;P&gt;There is no v order which has been present after checking by all three methods , i&lt;/P&gt;&lt;P&gt;am not sure if any other method is also availiable, if not then to me it sounds more like a bug&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 08:56:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377711#M261</guid>
      <dc:creator>puneetvijwani</dc:creator>
      <dc:date>2023-08-13T08:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377718#M262</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;But or missing feature, I don't know. When the optimization is on session level, it's strange to me that the 'V-ORDER' appears only as TAG, a property not intended to mean something so important as the optmization format of the file (I think so, what are your thoughts?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When optimizing on the write level, the optmization is designed to affect specific parquet files, so it's not included on the TAG of the table and since it was not included on metadata anyway, we are left with no way to confirm the optmization. There is some logic, but it's still a missing point.&lt;BR /&gt;&lt;BR /&gt;We end up with many questions: Why does it only appear on the TAG?&lt;BR /&gt;&lt;BR /&gt;How to identify the optimization on individual parquet files?&lt;BR /&gt;&lt;BR /&gt;What about OpmizeWrite, for example, which appears no where ?&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;&lt;BR /&gt;Dennes&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 09:29:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377718#M262</guid>
      <dc:creator>DennesTorres</dc:creator>
      <dc:date>2023-08-13T09:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377739#M263</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/599172"&gt;@DennesTorres&lt;/a&gt;&amp;nbsp;based on this official doc i can say its indeed&amp;nbsp; optimization at parquet level files&amp;nbsp;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/delta-optimization-and-v-order?tabs=sparksql" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/data-engineering/delta-optimization-and-v-order?tabs=sparksql&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i turn them on on session level i see them applied on parquet files metatata using pyarrow ( above code)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="epunvij_0-1691922829527.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/954794i702A6153A5CD73E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="epunvij_0-1691922829527.png" alt="epunvij_0-1691922829527.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also as we see tag in delta logs level as well ..my guess tag in delta log would be there for some reason&amp;nbsp;&lt;/P&gt;&lt;P&gt;the accurate way i understad is to check at the parquet's metatadata level , however in my mentioned issue when i turn them off at session level and try to control at dataframe write level i do not see expected behavior in parquet's metata&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 10:39:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3377739#M263</guid>
      <dc:creator>puneetvijwani</dc:creator>
      <dc:date>2023-08-13T10:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3383535#M264</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your script. It will help me a lot in other purposes, but I confirm your result: If the optmization doesn't happen on session level there is no sign of any metadata pointing to the optmization.&lt;BR /&gt;&lt;BR /&gt;To be absolutely sure about the result, I completed a test on the file level as well. The original article mentions only the parquet files affected by the write operation would be optmized.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But even on file level, there is no metadata pointing to any optmization.&lt;BR /&gt;&lt;BR /&gt;The script I tried, a variation from yours, is located below. What's the link to the issue you registered?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; pyarrow.dataset &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; pq&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;def&lt;/SPAN&gt;&lt;SPAN&gt; print_metadata(delta_file_path):&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Print schema metadata&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"\nSchema Metadata:"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"--------------------"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; schema_metadata = pq.dataset(delta_file_path).schema.metadata&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; schema_metadata:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt; key, value &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; schema_metadata.items():&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(f&lt;/SPAN&gt;&lt;SPAN&gt;"{key.decode('utf-8')}: {value.decode('utf-8')}"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"No schema metadata found."&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Test the function with a path to your delta file#&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;full_tables = [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'part-00000-cea68c9b-4b96-4955-a1b4-1147b89e8a15-c000.snappy.parquet'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'part-00001-9d86a807-c4b6-4c33-897e-eeedcfed4ca9-c000.snappy.parquet'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'part-00002-694dfef3-bea1-4c8e-99bb-8c45a926e413-c000.snappy.parquet'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'part-00003-dcbf684b-a2b0-4b20-8a63-c962f234e674-c000.snappy.parquet'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'part-00004-ecb43c9b-1ffb-46a9-9289-50ac5d02683f-c000.snappy.parquet'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'part-00005-dd4030dc-00be-43bd-873f-374393545d8a-c000.snappy.parquet'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; ]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt; table &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; full_tables:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;print_metadata(&lt;/SPAN&gt;&lt;SPAN&gt;'//lakehouse/default/Tables/dimension_city/'&lt;/SPAN&gt;&lt;SPAN&gt; + table)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dennes&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Aug 2023 19:13:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3383535#M264</guid>
      <dc:creator>DennesTorres</dc:creator>
      <dc:date>2023-08-16T19:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: V-Order Functionality in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3385105#M265</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/599172"&gt;@DennesTorres&lt;/a&gt;&amp;nbsp;Thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/599172"&gt;@DennesTorres&lt;/a&gt;&amp;nbsp; for confirming&amp;nbsp;&lt;BR /&gt;I am talking to someone from MS who now looking in to this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 11:14:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/V-Order-Functionality-in-Fabric-Notebook/m-p/3385105#M265</guid>
      <dc:creator>puneetvijwani</dc:creator>
      <dc:date>2023-08-17T11:14:22Z</dc:date>
    </item>
  </channel>
</rss>

