<?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: Lakehouse SQL analytics endpoint collation is not correct in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Lakehouse-SQL-analytics-endpoint-collation-is-not-correct/m-p/4170861#M4237</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there plans to change this behavior in the future?&amp;nbsp; Or to allow us to specify a default collation at the server/database level?&amp;nbsp; It seems like this will be allowed for Fabric Warehouses &lt;A href="https://learn.microsoft.com/en-us/fabric/release-plan/data-warehouse#case-insensitive-collation-support" target="_self"&gt;based on this link&lt;/A&gt;, but I'm not sure if that extends to Lakehouse SQL endpoints as well?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Side note, it's not very intuitive for the server to show a collation of SQL_Latin1_General_CP1_CI_AS, and yet actually be case sensitive.&amp;nbsp; It would be helpful to get this fixed as well.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2024 14:18:36 GMT</pubDate>
    <dc:creator>will-trickett</dc:creator>
    <dc:date>2024-09-24T14:18:36Z</dc:date>
    <item>
      <title>Lakehouse SQL analytics endpoint collation is not correct</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Lakehouse-SQL-analytics-endpoint-collation-is-not-correct/m-p/4167698#M4215</link>
      <description>&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our team recently started using the SQL analytics endpoint to create views for downstream analysis.&amp;nbsp; The default collation for the endpoint is SQL_Latin1_General_CP1_CI_AS, which is supposed to be &lt;EM&gt;case insensitive&amp;nbsp;&lt;/EM&gt;by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="willtrickett_0-1727104266165.png" style="width: 565px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1171858i6B3D9310F06C7B53/image-dimensions/565x235?v=v2" width="565" height="235" role="button" title="willtrickett_0-1727104266165.png" alt="willtrickett_0-1727104266165.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when we try to create views on the endpoint, it treats them as case sensitive.&amp;nbsp; For example, if the table has a column "AAA" and we create a view selecting "aaa" from the table, is throws an error that the field is not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this behavior expected?&amp;nbsp; Is there a way we can fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 15:14:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Lakehouse-SQL-analytics-endpoint-collation-is-not-correct/m-p/4167698#M4215</guid>
      <dc:creator>will-trickett</dc:creator>
      <dc:date>2024-09-23T15:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse SQL analytics endpoint collation is not correct</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Lakehouse-SQL-analytics-endpoint-collation-is-not-correct/m-p/4169126#M4221</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/710621"&gt;@will-trickett&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the SQL endpoint of Fabric lakehouse, the default is case-sensitive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you only specify a collation for a column, when you create a view and query the view, that column follows the collation you specify, while the other columns use their own default collation. So, if you only specify a collation for one column, the other columns may still be case-sensitive when querying the view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To ensure that the entire table is case-insensitive, it's a good idea to assign the same collation to all relevant columns when you create the table, or explicitly specify a collation for each column in your query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, collates can only be used for character data types (e.g., char, varchar, nvarchar, and text), not numeric data types (e.g., int, float, decimal, etc.).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 03:07:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Lakehouse-SQL-analytics-endpoint-collation-is-not-correct/m-p/4169126#M4221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-24T03:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse SQL analytics endpoint collation is not correct</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Lakehouse-SQL-analytics-endpoint-collation-is-not-correct/m-p/4170861#M4237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there plans to change this behavior in the future?&amp;nbsp; Or to allow us to specify a default collation at the server/database level?&amp;nbsp; It seems like this will be allowed for Fabric Warehouses &lt;A href="https://learn.microsoft.com/en-us/fabric/release-plan/data-warehouse#case-insensitive-collation-support" target="_self"&gt;based on this link&lt;/A&gt;, but I'm not sure if that extends to Lakehouse SQL endpoints as well?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Side note, it's not very intuitive for the server to show a collation of SQL_Latin1_General_CP1_CI_AS, and yet actually be case sensitive.&amp;nbsp; It would be helpful to get this fixed as well.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 14:18:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Lakehouse-SQL-analytics-endpoint-collation-is-not-correct/m-p/4170861#M4237</guid>
      <dc:creator>will-trickett</dc:creator>
      <dc:date>2024-09-24T14:18:36Z</dc:date>
    </item>
  </channel>
</rss>

