This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch sedona-1.3.0
in repository https://gitbox.apache.org/repos/asf/incubator-sedona.git
The following commit(s) were added to refs/heads/sedona-1.3.0 by this push:
new 65eef9c1 Fix the R test that still has DBI call
65eef9c1 is described below
commit 65eef9c1e4871d02c169ab569b0d2f090e4c6e09
Author: Jia Yu <[email protected]>
AuthorDate: Thu Dec 1 17:05:20 2022 -0800
Fix the R test that still has DBI call
---
R/tests/testthat/test-spatial-queries.R | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/R/tests/testthat/test-spatial-queries.R
b/R/tests/testthat/test-spatial-queries.R
index 15206882..07838d38 100644
--- a/R/tests/testthat/test-spatial-queries.R
+++ b/R/tests/testthat/test-spatial-queries.R
@@ -21,7 +21,7 @@ sc <- testthat_spark_connection()
knn_query_pt_x <- -84.01
knn_query_pt_y <- 34.01
-knn_query_pt_tbl <- DBI::dbGetQuery(
+knn_query_pt_tbl <- sdf_sql(
sc,
sprintf(
"SELECT ST_GeomFromText(\"POINT(%f %f)\") AS `pt`",