<?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 Internal error: com.databricks.rpc.RPCResponseTooLarge, when attempting to use mosaic's st_intersects in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/internal-error-com-databricks-rpc-rpcresponsetoolarge-when/m-p/2674#M1</link>
    <description>&lt;P&gt;I get an exception when attempting to run the following line of code, which filters a spark DataFrame based on the geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;df_tx = df_zip.filter(st_intersects(st_aswkt("zip_code_geom"), tx_poly))
&amp;nbsp;
df_tx.show()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where,&amp;nbsp;`tx_poly` is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`tx_poly = shapely.wkt.dumps(tx_poly2)`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Internal error. Attach your notebook to a different compute or restart the current compute.
&amp;nbsp;
com.databricks.rpc.RPCResponseTooLarge: rpc response (of 20982872 bytes) exceeds limit of 20971520 bytes
&amp;nbsp;
	at com.databricks.rpc.Jetty9Client$$anon$1.onContent(Jetty9Client.scala:657)
&amp;nbsp;
	at shaded.v9_4.org.eclipse.jetty.client.api.Response$Listener.onContent(Response.java:294)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2023 17:31:13 GMT</pubDate>
    <dc:creator>kll</dc:creator>
    <dc:date>2023-06-23T17:31:13Z</dc:date>
    <item>
      <title>Internal error: com.databricks.rpc.RPCResponseTooLarge, when attempting to use mosaic's st_intersects</title>
      <link>https://community.databricks.com/t5/machine-learning/internal-error-com-databricks-rpc-rpcresponsetoolarge-when/m-p/2674#M1</link>
      <description>&lt;P&gt;I get an exception when attempting to run the following line of code, which filters a spark DataFrame based on the geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;df_tx = df_zip.filter(st_intersects(st_aswkt("zip_code_geom"), tx_poly))
&amp;nbsp;
df_tx.show()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where,&amp;nbsp;`tx_poly` is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`tx_poly = shapely.wkt.dumps(tx_poly2)`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Internal error. Attach your notebook to a different compute or restart the current compute.
&amp;nbsp;
com.databricks.rpc.RPCResponseTooLarge: rpc response (of 20982872 bytes) exceeds limit of 20971520 bytes
&amp;nbsp;
	at com.databricks.rpc.Jetty9Client$$anon$1.onContent(Jetty9Client.scala:657)
&amp;nbsp;
	at shaded.v9_4.org.eclipse.jetty.client.api.Response$Listener.onContent(Response.java:294)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 17:31:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/internal-error-com-databricks-rpc-rpcresponsetoolarge-when/m-p/2674#M1</guid>
      <dc:creator>kll</dc:creator>
      <dc:date>2023-06-23T17:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Internal error: com.databricks.rpc.RPCResponseTooLarge, when attempting to use mosaic's st_inter</title>
      <link>https://community.databricks.com/t5/machine-learning/internal-error-com-databricks-rpc-rpcresponsetoolarge-when/m-p/35355#M1839</link>
      <description>&lt;P&gt;I am not familiar with st_intersects, but it seems that it runs solely on the driver (as python code, not spark).&lt;BR /&gt;Does mosaic work in pyspark?&lt;/P&gt;&lt;P&gt;If not: try to use a larger driver.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 15:20:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/internal-error-com-databricks-rpc-rpcresponsetoolarge-when/m-p/35355#M1839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-27T15:20:27Z</dc:date>
    </item>
  </channel>
</rss>

