<?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: Query fails with 'Error occurred while deserializing arrow data' on Databricks SQL with Channel set to Preview in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/query-fails-with-error-occurred-while-deserializing-arrow-data/m-p/10749#M5848</link>
    <description>&lt;P&gt;And where can we find samples.tpch.nation or notebook which creates it?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 09:00:28 GMT</pubDate>
    <dc:creator>Hubert-Dudek</dc:creator>
    <dc:date>2023-01-25T09:00:28Z</dc:date>
    <item>
      <title>Query fails with 'Error occurred while deserializing arrow data' on Databricks SQL with Channel set to Preview</title>
      <link>https://community.databricks.com/t5/data-engineering/query-fails-with-error-occurred-while-deserializing-arrow-data/m-p/10748#M5847</link>
      <description>&lt;P&gt;Noticed with a query based on inline select and joins fails to the client with 'Error occurred while deserializing arrow data'&amp;nbsp; I.e the query succeeds on Databricks but client (DBeaver, AtScale) receives an error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2023-01-24 at 2.08.54 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/799iBFA87FD2923A6A53/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-01-24 at 2.08.54 PM" alt="Screen Shot 2023-01-24 at 2.08.54 PM" /&gt;&lt;/span&gt;The error is only noticed with Databricks SQL setup with preview as channel mode &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2023-01-24 at 2.11.20 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/801i9E9032297D404600/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-01-24 at 2.11.20 PM" alt="Screen Shot 2023-01-24 at 2.11.20 PM" /&gt;&lt;/span&gt;The same query works fine with Databricks SQL, that has channel setup to current &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2023-01-24 at 2.03.21 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/804i36E502464F9AC5D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-01-24 at 2.03.21 PM" alt="Screen Shot 2023-01-24 at 2.03.21 PM" /&gt;&lt;/span&gt;The issue can be replicated with a query against samples.tpch.nation table&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT
  SUM(`t_36`.`noq_empty`) `ne36`,
  `t_36`.`nname` `nname`,
  SUM(`t_94`.`c0`) `c94`
FROM
  (
    SELECT  `t_59`.`noq_empty_gbakc13` `noq_empty`,
      `t_59`.`n_gbakc10` `nname`
    FROM
      (
        SELECT SUM(ntn1.n_nationkey) `noq_empty_gbakc13`,
         ntn1.n_name `n_gbakc10`
        FROM
          samples.tpch.nation ntn1
        WHERE
          true
        GROUP BY
          `n_gbakc10`
      ) `t_59`
  ) `t_36`
  JOIN (
    SELECT
      `t_135`.`c0` `c0`,
      `t_135`.`nname` `nname`
    FROM
      (
        SELECT
          `t_134`.`ci` `c0`,
          `t_134`.`nname` `nname`
        FROM
          (
            SELECT
              `t_133`.`ci_gbakc2` `ci`,
              `t_133`.`sono_gbakc3` `nname`
            FROM
              ( SELECT
                  SUM(ntn10.n_nationkey) `ci_gbakc2`,
                  ntn10.n_name  `sono_gbakc3`
                FROM
                  samples.tpch.nation ntn10
                WHERE
                  true
                GROUP BY
                  `sono_gbakc3`
                HAVING
                  SUM(`ntn10`.`n_nationkey`) &amp;gt; 1
              ) `t_133`
          ) `t_134`
        WHERE
          `t_134`.`ci` &amp;gt; 1
      ) `t_135`
    WHERE
      `t_135`.`c0` &amp;gt; 1
  ) `t_94` ON `t_94`.`nname` = `t_36`.`nname`
GROUP BY
  `t_36`.`nname`
HAVING
  SUM(`t_94`.`c0`) &amp;gt; 10&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So would like to understand is there going to be a change in how the result-set object is being serialized in the upcoming releases of DBSQL? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR Is this a bug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 20:16:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-fails-with-error-occurred-while-deserializing-arrow-data/m-p/10748#M5847</guid>
      <dc:creator>kilaki</dc:creator>
      <dc:date>2023-01-24T20:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Query fails with 'Error occurred while deserializing arrow data' on Databricks SQL with Channel set to Preview</title>
      <link>https://community.databricks.com/t5/data-engineering/query-fails-with-error-occurred-while-deserializing-arrow-data/m-p/10749#M5848</link>
      <description>&lt;P&gt;And where can we find samples.tpch.nation or notebook which creates it?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:00:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-fails-with-error-occurred-while-deserializing-arrow-data/m-p/10749#M5848</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-25T09:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Query fails with 'Error occurred while deserializing arrow data' on Databricks SQL with Channel set to Preview</title>
      <link>https://community.databricks.com/t5/data-engineering/query-fails-with-error-occurred-while-deserializing-arrow-data/m-p/10750#M5849</link>
      <description>&lt;P&gt;It's one of the sample datasets provided by Databricks &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/dbfs/databricks-datasets.html" target="test_blank"&gt;https://docs.databricks.com/dbfs/databricks-datasets.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 17:33:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-fails-with-error-occurred-while-deserializing-arrow-data/m-p/10750#M5849</guid>
      <dc:creator>kilaki</dc:creator>
      <dc:date>2023-01-25T17:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Query fails with 'Error occurred while deserializing arrow data' on Databricks SQL with Channel set to Preview</title>
      <link>https://community.databricks.com/t5/data-engineering/query-fails-with-error-occurred-while-deserializing-arrow-data/m-p/10751#M5850</link>
      <description>&lt;P&gt;Opened an ES on this, looks like an issue with the Preview channel.  Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 03:00:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-fails-with-error-occurred-while-deserializing-arrow-data/m-p/10751#M5850</guid>
      <dc:creator>franco_patano</dc:creator>
      <dc:date>2023-01-26T03:00:56Z</dc:date>
    </item>
  </channel>
</rss>

