<?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: How to list Table Properties in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371324#M143</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;After some more tests, I solved the problem of the SHOW statement, it was a silly mistake I did. %%sql only works if it's on the first line of the code block.&lt;BR /&gt;&lt;BR /&gt;However, the final intended result didn't work. I was looking for discovering if the table was created using vorder optimization or optimizewrite, I was sure some of the tables were created with these features, while others were not, but the SHOW TBLPROPERTIES never show these properties.&lt;BR /&gt;&lt;BR /&gt;What could I be doing wrong?&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_1-1691547287164.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/952960iC00B4746C5BCD466/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DennesTorres_1-1691547287164.png" alt="DennesTorres_1-1691547287164.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dennes&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 02:15:16 GMT</pubDate>
    <dc:creator>DennesTorres</dc:creator>
    <dc:date>2023-08-09T02:15:16Z</dc:date>
    <item>
      <title>How to list Table Properties</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3366675#M140</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;A table can have multiple properties, such as the v-order optimization.&lt;BR /&gt;&lt;BR /&gt;Some statements related to these properties are explained on the link&amp;nbsp;&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;We can use CREATE TABLE/ALTER TABLE/OPTIMIZE&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the link doesn't explain how to use SHOW.&lt;BR /&gt;&lt;BR /&gt;The traditional statement should be something like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SHOW TBLPROPERTIES dimension_employee;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I tried many variations, with no success.&lt;BR /&gt;&lt;BR /&gt;So, my questions are:&lt;BR /&gt;&lt;BR /&gt;How to discover the property values for a table?&lt;BR /&gt;&lt;BR /&gt;Is it possible to discover the same using the SQL Endpoint, or only using notebooks?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The v-order optimization can be enabled for each write operation. Could this lead to a situation where some parquet files are optimized and some are not? In this case, the table property may work as a general guidance but some parquet files may not be optimized inside the table? How to identify this situation?&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dennnes&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Aug 2023 20:13:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3366675#M140</guid>
      <dc:creator>DennesTorres</dc:creator>
      <dc:date>2023-08-05T20:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to list Table Properties</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371256#M141</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;The traditional statement to see table properties is working fine from notebooks.&lt;/P&gt;&lt;P&gt;I just verified it using below code snippet&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;%%&lt;/SPAN&gt;&lt;SPAN&gt;sql&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SHOW&lt;/SPAN&gt; &lt;SPAN&gt;TBLPROPERTIES&lt;/SPAN&gt;&lt;SPAN&gt; dim_calendar&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Aug 2023 01:10:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371256#M141</guid>
      <dc:creator>chetnachaudhari</dc:creator>
      <dc:date>2023-08-09T01:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to list Table Properties</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371301#M142</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I just tried it again and it's not working. Maybe I'm doing something wrong? I get a simple syntax error as feedback&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-1691545661299.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/952950iD1395820B90BA194/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DennesTorres_0-1691545661299.png" alt="DennesTorres_0-1691545661299.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;&lt;BR /&gt;Dennes&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 01:49:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371301#M142</guid>
      <dc:creator>DennesTorres</dc:creator>
      <dc:date>2023-08-09T01:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to list Table Properties</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371324#M143</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;After some more tests, I solved the problem of the SHOW statement, it was a silly mistake I did. %%sql only works if it's on the first line of the code block.&lt;BR /&gt;&lt;BR /&gt;However, the final intended result didn't work. I was looking for discovering if the table was created using vorder optimization or optimizewrite, I was sure some of the tables were created with these features, while others were not, but the SHOW TBLPROPERTIES never show these properties.&lt;BR /&gt;&lt;BR /&gt;What could I be doing wrong?&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_1-1691547287164.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/952960iC00B4746C5BCD466/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DennesTorres_1-1691547287164.png" alt="DennesTorres_1-1691547287164.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dennes&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 02:15:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371324#M143</guid>
      <dc:creator>DennesTorres</dc:creator>
      <dc:date>2023-08-09T02:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to list Table Properties</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371360#M144</link>
      <description>&lt;P&gt;You can check the value of particular property using following syntax&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chetnachaudhari_0-1691548859862.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/952976i20D1EFFB0C7D6E3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chetnachaudhari_0-1691548859862.png" alt="chetnachaudhari_0-1691548859862.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;%%sql
SHOW TBLPROPERTIES dim_calendar ('delta.parquet.vorder.enabled');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Chetna&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 02:41:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371360#M144</guid>
      <dc:creator>chetnachaudhari</dc:creator>
      <dc:date>2023-08-09T02:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to list Table Properties</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371392#M145</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I tried as well. It always result that the table doesn't have this property.&lt;BR /&gt;&lt;BR /&gt;I tried to drop and create the table again, in many different ways. I followed the guidance on&amp;nbsp;&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;BR /&gt;&lt;BR /&gt;All my attempts always result in "The table doesn't have this property".&lt;BR /&gt;&lt;BR /&gt;One of my last attempts was this:&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-1691550015045.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/952984i119434E390213642/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DennesTorres_0-1691550015045.png" alt="DennesTorres_0-1691550015045.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Dennes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 03:00:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371392#M145</guid>
      <dc:creator>DennesTorres</dc:creator>
      <dc:date>2023-08-09T03:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to list Table Properties</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371430#M146</link>
      <description>&lt;P&gt;Yes, it is bit unclear on how it picks the tblproperties, I tried few ways they didn't show the property value, when I tried below it works&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chetnachaudhari_0-1691551673520.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/953000iC9A752A536E7AD15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chetnachaudhari_0-1691551673520.png" alt="chetnachaudhari_0-1691551673520.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;BR /&gt;Chetna&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 03:28:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3371430#M146</guid>
      <dc:creator>chetnachaudhari</dc:creator>
      <dc:date>2023-08-09T03:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to list Table Properties</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3372241#M147</link>
      <description>&lt;P&gt;Hi,!&lt;BR /&gt;&lt;BR /&gt;Very interesting. I will need to investigate more. After all, this involves the v-order optimization of the files and if it doesn't work in some ways, there are more than one Microsoft tutorial with bad mistakes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;&lt;BR /&gt;Dennes&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 12:58:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3372241#M147</guid>
      <dc:creator>DennesTorres</dc:creator>
      <dc:date>2023-08-09T12:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to list Table Properties</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3545515#M148</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I tried also the GUI Optimizer, never noticed that before, when you right click on a table from the Fabric Lakehouse:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="charrington_0-1700599160395.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1000124i68BCC66B5C46C4FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="charrington_0-1700599160395.png" alt="charrington_0-1700599160395.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It ran witth success (it's still running spark behing the scenes), and even I can see my report is responding faster, and I am able to see parquet files have been merged and optimized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But still the VOrder property doesn't show:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="charrington_1-1700599249676.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1000125i9C650309C9EE0F87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="charrington_1-1700599249676.png" alt="charrington_1-1700599249676.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wonder why...&lt;BR /&gt;Any updates on your side?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 20:42:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-list-Table-Properties/m-p/3545515#M148</guid>
      <dc:creator>charrington</dc:creator>
      <dc:date>2023-11-21T20:42:30Z</dc:date>
    </item>
  </channel>
</rss>

