<?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: Experiencing sorting problems with bigint columns in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121547#M46481</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Parth2692_0-1749707660024.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17475i40F577FD20CEDBCD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Parth2692_0-1749707660024.png" alt="Parth2692_0-1749707660024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2025 05:55:07 GMT</pubDate>
    <dc:creator>Parth2692</dc:creator>
    <dc:date>2025-06-12T05:55:07Z</dc:date>
    <item>
      <title>Experiencing sorting problems with bigint columns</title>
      <link>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121542#M46478</link>
      <description>&lt;DIV&gt;Experiencing sorting problems with bigint columns across tables tested.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;In the table the projectid (bigint as per schema - which is correct) yet when sorted in SQL is sorting as per a string value&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1000903 is returned as the minimum projectid value&lt;/DIV&gt;&lt;DIV&gt;998401 is returned as the maximum projectid value.&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Jun 2025 04:31:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121542#M46478</guid>
      <dc:creator>Parth2692</dc:creator>
      <dc:date>2025-06-12T04:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Experiencing sorting problems with bigint columns</title>
      <link>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121545#M46480</link>
      <description>&lt;P&gt;Can you send across schema of table using describe command.&lt;/P&gt;&lt;P&gt;Also at runtime cast it to bigint and then check.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 05:47:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121545#M46480</guid>
      <dc:creator>EktaPuri</dc:creator>
      <dc:date>2025-06-12T05:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Experiencing sorting problems with bigint columns</title>
      <link>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121547#M46481</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Parth2692_0-1749707660024.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17475i40F577FD20CEDBCD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Parth2692_0-1749707660024.png" alt="Parth2692_0-1749707660024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 05:55:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121547#M46481</guid>
      <dc:creator>Parth2692</dc:creator>
      <dc:date>2025-06-12T05:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Experiencing sorting problems with bigint columns</title>
      <link>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121549#M46482</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Parth2692_1-1749707737752.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17476i0C1077A4A761F67B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Parth2692_1-1749707737752.png" alt="Parth2692_1-1749707737752.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 05:55:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121549#M46482</guid>
      <dc:creator>Parth2692</dc:creator>
      <dc:date>2025-06-12T05:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Experiencing sorting problems with bigint columns</title>
      <link>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121551#M46483</link>
      <description>&lt;P&gt;Can you cast explicitly to bigint and check, it's kinda strange&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 06:03:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121551#M46483</guid>
      <dc:creator>EktaPuri</dc:creator>
      <dc:date>2025-06-12T06:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Experiencing sorting problems with bigint columns</title>
      <link>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121553#M46485</link>
      <description>&lt;P&gt;When I use CAST, it returns the data type as BIGINT, which is expected. However, if I'm reading directly from the Unity Catalog (UC) table, it should already return the BIGINT data type without requiring a cast. Is there a reason why this inconsistency is occurring?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 06:12:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121553#M46485</guid>
      <dc:creator>Parth2692</dc:creator>
      <dc:date>2025-06-12T06:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Experiencing sorting problems with bigint columns</title>
      <link>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121559#M46488</link>
      <description>&lt;P&gt;Try running explain command&amp;nbsp; what's happening in the background, also if table is small try to write in another table and check&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 07:05:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/experiencing-sorting-problems-with-bigint-columns/m-p/121559#M46488</guid>
      <dc:creator>EktaPuri</dc:creator>
      <dc:date>2025-06-12T07:05:36Z</dc:date>
    </item>
  </channel>
</rss>

