<?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 [Databricks SQL] Commented Escape Character (\) Causes Unexpected Behavior in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15561#M9873</link>
    <description>&lt;P&gt;&lt;B&gt;The Problem:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;I've observed erratic behavior when I add a comment containing a trailing escape character (\) to a CREATE TABLE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, this query returns data (though it shouldn't):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE TABLE example_table
SELECT 1
-- This comment has an escape character: \
WHERE 1 = 0;
&amp;nbsp;
SELECT * FROM example_table;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Has anyone seen this?&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 17:33:06 GMT</pubDate>
    <dc:creator>Graham</dc:creator>
    <dc:date>2022-06-29T17:33:06Z</dc:date>
    <item>
      <title>[Databricks SQL] Commented Escape Character (\) Causes Unexpected Behavior</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15561#M9873</link>
      <description>&lt;P&gt;&lt;B&gt;The Problem:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;I've observed erratic behavior when I add a comment containing a trailing escape character (\) to a CREATE TABLE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, this query returns data (though it shouldn't):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE TABLE example_table
SELECT 1
-- This comment has an escape character: \
WHERE 1 = 0;
&amp;nbsp;
SELECT * FROM example_table;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Has anyone seen this?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 17:33:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15561#M9873</guid>
      <dc:creator>Graham</dc:creator>
      <dc:date>2022-06-29T17:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Databricks SQL] Commented Escape Character (\) Causes Unexpected Behavior</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15562#M9874</link>
      <description>&lt;P&gt;I recommend you to go to your query plan in order to understand what is happening on the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 19:02:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15562#M9874</guid>
      <dc:creator>JBOCACHICA</dc:creator>
      <dc:date>2022-06-29T19:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: [Databricks SQL] Commented Escape Character (\) Causes Unexpected Behavior</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15564#M9876</link>
      <description>&lt;P&gt;@Graham Carman​&amp;nbsp;that's definitely odd, I can reproduce it. I'll follow up on this.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 09:59:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15564#M9876</guid>
      <dc:creator>BilalAslamDbrx</dc:creator>
      <dc:date>2022-07-01T09:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: [Databricks SQL] Commented Escape Character (\) Causes Unexpected Behavior</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15565#M9877</link>
      <description>&lt;P&gt;@Graham Carman​&amp;nbsp;we're tracking this as a defect / issue on our side. For now, please don't include the escape character in comments.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 13:32:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15565#M9877</guid>
      <dc:creator>BilalAslamDbrx</dc:creator>
      <dc:date>2022-07-08T13:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: [Databricks SQL] Commented Escape Character (\) Causes Unexpected Behavior</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15567#M9879</link>
      <description>&lt;P&gt;Hi @Graham Carman​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 23:05:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-commented-escape-character-causes-unexpected/m-p/15567#M9879</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-07-20T23:05:15Z</dc:date>
    </item>
  </channel>
</rss>

