<?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: Notebooks writing tables with names lowercased - how to fix? in Data Science</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3756954#M110</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="535913" data-lia-user-login="Scott_Powell" class="lia-mention lia-mention-user"&gt;Scott_Powell&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Unfortunately we don't have any option to do this "globally.&lt;BR /&gt;&lt;BR /&gt;Glad to know your query got resolved. Please continue using Fabric Community for your further queries.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2024 05:42:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-03-12T05:42:06Z</dc:date>
    <item>
      <title>Notebooks writing tables with names lowercased - how to fix?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3753090#M104</link>
      <description>&lt;P&gt;Hi, I have a spark notebook that's applying changes to a table in a lakehouse. Everything works fine until I try to run this last line of code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;final_df.write.format(&lt;/SPAN&gt;&lt;SPAN&gt;"delta"&lt;/SPAN&gt;&lt;SPAN&gt;).mode(&lt;/SPAN&gt;&lt;SPAN&gt;"overwrite"&lt;/SPAN&gt;&lt;SPAN&gt;).saveAsTable(target_table)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Here's the issue - my original table is called ThisIsASample, and I've verified that the target_table variable holds "ThisIsASample". But when the above line of code runs, it recreates the table as "thisisasample". This mucks up everything downstream - I need it to write the table name respecting the case I specified.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any ideas on why the notebook is doing this, and what I can do to correct it?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 10 Mar 2024 02:08:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3753090#M104</guid>
      <dc:creator>Scott_Powell</dc:creator>
      <dc:date>2024-03-10T02:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Notebooks writing tables with names lowercased - how to fix?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3753616#M105</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="535913" data-lia-user-login="Scott_Powell" class="lia-mention lia-mention-user"&gt;Scott_Powell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for now spark enforce lowercase on write and there is no way to change it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 22:05:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3753616#M105</guid>
      <dc:creator>StrategicSavvy</dc:creator>
      <dc:date>2024-03-10T22:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Notebooks writing tables with names lowercased - how to fix?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3753909#M106</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="535913" data-lia-user-login="Scott_Powell" class="lia-mention lia-mention-user"&gt;Scott_Powell&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for using Fabric Community.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Yes, this is a limitation of the HIVE metastore. It stores the schema of a table in all lowercase.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;A table name can contain only lowercase alphanumeric characters and underscores and must start with a lowercase letter or underscore.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hope this will help. Please let us know if any further queries.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 04:19:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3753909#M106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-11T04:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Notebooks writing tables with names lowercased - how to fix?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3755650#M107</link>
      <description>&lt;P&gt;The very odd thing though is that I have other lakehouses where this is working fine. See image below. It's using the exact same code, but you can see the output table is properly named IP_Addresses, not ip_addresses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lakehouse where I'm seeing this error is very old - it was created 3 or 4 months ago at least. The one shown below where case is being properly respected is new. I wonder if something changed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 15:07:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3755650#M107</guid>
      <dc:creator>Scott_Powell</dc:creator>
      <dc:date>2024-03-11T15:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Notebooks writing tables with names lowercased - how to fix?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3755958#M108</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="535913" data-lia-user-login="Scott_Powell" class="lia-mention lia-mention-user"&gt;Scott_Powell&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Spark is not case sensitive by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a way to handle this issue by adding spark config , using a&amp;nbsp;SparkSession object named&amp;nbsp;spark:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;spark.conf.set('spark.sql.caseSensitive', True)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default it is False.&lt;BR /&gt;&lt;BR /&gt;Inorder to check the configuration status -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;print(spark.conf.get('spark.sql.caseSensitive'))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Can you please try and let me know if it resolves your issue?&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful. Please let me know incase of further queries.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 17:17:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3755958#M108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-11T17:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Notebooks writing tables with names lowercased - how to fix?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3756065#M109</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;this seems to work perfectly - thank you! I'm not very comfortable with Spark stuff yet - is there a way to set this option "globally" either across all of Fabric, or maybe at the workspace level, so that we don't have to remember to put this code into every notebook?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This helped me a ton - thank you!&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 18:24:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3756065#M109</guid>
      <dc:creator>Scott_Powell</dc:creator>
      <dc:date>2024-03-11T18:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Notebooks writing tables with names lowercased - how to fix?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3756954#M110</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="535913" data-lia-user-login="Scott_Powell" class="lia-mention lia-mention-user"&gt;Scott_Powell&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Unfortunately we don't have any option to do this "globally.&lt;BR /&gt;&lt;BR /&gt;Glad to know your query got resolved. Please continue using Fabric Community for your further queries.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 05:42:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/3756954#M110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-12T05:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Notebooks writing tables with names lowercased - how to fix?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/4673272#M729</link>
      <description>&lt;P&gt;Thanks this works!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 16:03:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/4673272#M729</guid>
      <dc:creator>XianZheng</dc:creator>
      <dc:date>2025-04-29T16:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Notebooks writing tables with names lowercased - how to fix?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/5188116#M1180</link>
      <description>&lt;DIV&gt;&lt;STRONG&gt;Table Naming Inconsistency Causing Friction in Data Integration and Query Sharing&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Even if we accept the case-insensitive + force-lowercase behavior (e.g., due to Hive metastore constraints),&lt;/P&gt;&lt;P&gt;there is still a consistency issue within Fabric itself.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As far as discussed here, there seems to be no way to define this behavior as a default at the workspace or artifact level.&lt;BR /&gt;This creates practical issues when integrating with existing data assets and sharing queries, as naming inconsistencies become a persistent and avoidable source of friction that users have to handle explicitly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;From a platform design perspective, this feels like a lack of cohesion:&lt;BR /&gt;a platform-level constraint is effectively being pushed onto users as an implementation burden.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;At minimum, having a workspace-level or global configuration for naming behavior would significantly improve consistency and reduce confusion.&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2026 23:13:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/Notebooks-writing-tables-with-names-lowercased-how-to-fix/m-p/5188116#M1180</guid>
      <dc:creator>murat-to</dc:creator>
      <dc:date>2026-05-24T23:13:23Z</dc:date>
    </item>
  </channel>
</rss>

