<?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: Errors on Redash when queries are in cache in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/errors-on-redash-when-queries-are-in-cache/m-p/33646#M24596</link>
    <description>&lt;P&gt;This can be related to user permission, particularly necessary permission to access the table in the database instance. I understand in SQL editor it is working fine, still can we check the permissions? &lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2022 16:15:15 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2022-08-25T16:15:15Z</dc:date>
    <item>
      <title>Errors on Redash when queries are in cache</title>
      <link>https://community.databricks.com/t5/data-engineering/errors-on-redash-when-queries-are-in-cache/m-p/33645#M24595</link>
      <description>&lt;P&gt;We got the following error when running queries on Redash connected to&lt;/P&gt;&lt;P&gt;Databricks early today (2022-08-24):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;Error running query: [HY000] [Simba][Hardy] (35) Error from server:&lt;/P&gt;&lt;P&gt;error code: '0' error message:&lt;/P&gt;&lt;P&gt;'org.apache.spark.sql.catalyst.expressions.UnsafeRow cannot be cast to&lt;/P&gt;&lt;P&gt;org.apache.spark.sql.Row'. (35) (SQLFetch)&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This happened when the result was cache. If the query was new then&lt;/P&gt;&lt;P&gt;Redash can get the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query works fine on Databricks SQL editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on how to resolve this? This happened early today  (2022-08-24), before that it worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Redash version we are using is v10.0.0 (&lt;A href="https://github.com/getredash/redash/commit/9c928bd1d3f00c994f37e1a87edaddd646259f56" alt="https://github.com/getredash/redash/commit/9c928bd1d3f00c994f37e1a87edaddd646259f56" target="_blank"&gt;9c928bd&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 09:24:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/errors-on-redash-when-queries-are-in-cache/m-p/33645#M24595</guid>
      <dc:creator>368545</dc:creator>
      <dc:date>2022-08-24T09:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Errors on Redash when queries are in cache</title>
      <link>https://community.databricks.com/t5/data-engineering/errors-on-redash-when-queries-are-in-cache/m-p/33648#M24598</link>
      <description>&lt;P&gt;It got fixed last week from Databricks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There was no problem with the permission, since if the query not hit the cache, then we could get the result. We had to add some workarounds with `select random(), * from table` instead of `select * from table`.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 14:16:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/errors-on-redash-when-queries-are-in-cache/m-p/33648#M24598</guid>
      <dc:creator>368545</dc:creator>
      <dc:date>2022-09-02T14:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Errors on Redash when queries are in cache</title>
      <link>https://community.databricks.com/t5/data-engineering/errors-on-redash-when-queries-are-in-cache/m-p/33646#M24596</link>
      <description>&lt;P&gt;This can be related to user permission, particularly necessary permission to access the table in the database instance. I understand in SQL editor it is working fine, still can we check the permissions? &lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 16:15:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/errors-on-redash-when-queries-are-in-cache/m-p/33646#M24596</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-08-25T16:15:15Z</dc:date>
    </item>
  </channel>
</rss>

