This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git
The following commit(s) were added to refs/heads/main by this push:
new e1116d1 Update overture notebook with new API names (#94)
e1116d1 is described below
commit e1116d1b99e4a4699e54649fedbfa4283a67ce86
Author: jp <[email protected]>
AuthorDate: Tue Sep 16 10:45:45 2025 -0700
Update overture notebook with new API names (#94)
---
docs/overture-examples.ipynb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/overture-examples.ipynb b/docs/overture-examples.ipynb
index b0c4d4c..6ac9014 100644
--- a/docs/overture-examples.ipynb
+++ b/docs/overture-examples.ipynb
@@ -360,7 +360,7 @@
"metadata": {},
"outputs": [],
"source": [
- "# get all the divisions in Nova Scotia and save them in memory with
collect()\n",
+ "# get all the divisions in Nova Scotia and save them in memory with
to_memtable()\n",
"nova_scotia_bbox_wkt = (\n",
" \"POLYGON((-66.5 43.4, -66.5 47.1, -59.8 47.1, -59.8 43.4, -66.5
43.4))\"\n",
")\n",
@@ -370,7 +370,7 @@
"FROM division_area\n",
"WHERE\n",
" ST_Intersects(geometry,
ST_SetSRID(ST_GeomFromText('{nova_scotia_bbox_wkt}'), 4326))\n",
- "\"\"\").collect()"
+ "\"\"\").to_memtable()"
]
},
{
@@ -424,7 +424,7 @@
],
"source": [
"%%time\n",
- "# this executes quickly because the Nova Scotia data was persisted in
memory with collect()\n",
+ "# this executes quickly because the Nova Scotia data was persisted in
memory with to_memtable()\n",
"df.show(2)"
]
}