Skip to content

Commit 552670b

Browse files
zacdav-dbZac Davies
andauthored
DBSQL Query Helper via SEA + Remove Python SQL Connector Wrapper (#98)
* Adding db_sql_query convenience function for querying via warehouse. * adding small tests for `db_sql_query` * Adding logic to fallback to nanoarrow * Removing python SQL connector * Update typo. * copilot is cool - found a booboo * `x` --> `.x` * - Removing unused imports - Removing unused tests & helpers - Removing unused doc pages - Minor doc/vignette updates --------- Co-authored-by: Zac Davies <[email protected]>
1 parent fefe0fb commit 552670b

19 files changed

+282
-1107
lines changed

DESCRIPTION

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ Imports:
3131
httr2 (>= 1.0.4),
3232
ini,
3333
jsonlite,
34+
nanoarrow,
3435
purrr,
35-
reticulate,
36-
R6 (>= 2.4.0),
3736
rlang,
3837
tibble,
3938
utils
@@ -45,7 +44,6 @@ Suggests:
4544
knitr,
4645
magick,
4746
rmarkdown,
48-
rstudioapi,
4947
withr
5048
Roxygen: list(markdown = TRUE)
5149
RoxygenNote: 7.3.2

NAMESPACE

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Generated by roxygen2: do not edit by hand
22

3-
export(DatabricksSqlClient)
43
export(access_control_req_group)
54
export(access_control_req_user)
65
export(access_control_request)
@@ -95,12 +94,12 @@ export(db_secrets_scope_acl_put)
9594
export(db_secrets_scope_create)
9695
export(db_secrets_scope_delete)
9796
export(db_secrets_scope_list_all)
98-
export(db_sql_client)
9997
export(db_sql_exec_cancel)
10098
export(db_sql_exec_query)
10199
export(db_sql_exec_result)
102100
export(db_sql_exec_status)
103101
export(db_sql_global_warehouse_get)
102+
export(db_sql_query)
104103
export(db_sql_query_history)
105104
export(db_sql_warehouse_create)
106105
export(db_sql_warehouse_delete)
@@ -168,7 +167,6 @@ export(get_latest_dbr)
168167
export(git_source)
169168
export(in_databricks_nb)
170169
export(init_script_info)
171-
export(install_db_sql_connector)
172170
export(is.access_control_req_group)
173171
export(is.access_control_req_user)
174172
export(is.access_control_request)
@@ -220,18 +218,15 @@ export(new_cluster)
220218
export(notebook_task)
221219
export(open_workspace)
222220
export(pipeline_task)
223-
export(py_db_sql_connector)
224221
export(python_wheel_task)
225222
export(remove_lib_path)
226223
export(s3_storage_info)
227224
export(spark_jar_task)
228225
export(spark_python_task)
229226
export(spark_submit_task)
230227
export(wait_for_lib_installs)
231-
import(R6)
232228
import(cli)
233229
import(httr2)
234-
import(tibble)
235230
importFrom(glue,glue)
236231
importFrom(rlang,.data)
237232
importFrom(stats,setNames)

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# brickster 0.2.8
22

3+
* Removing the Python SQL connector as `db_sql_query` supersedes it.
4+
* Added `db_sql_query` to simplify execution of SQL
35
* Adjusted `db_repl` to handle mulit-line expressions (R only)
46
* Removed RStudio Addins to send lines/selection/files to console
57
* Moved arrow to Suggests

R/dbi-backend.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# TODO

R/rstudio-integrations.R

Whitespace-only changes.

0 commit comments

Comments
 (0)