Skip to content

Commit f60d487

Browse files
author
Zac Davies
committed
Adding DBI + dbplyr backends. Read-only for now.
1 parent 8417324 commit f60d487

58 files changed

Lines changed: 3076 additions & 108 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

..Rcheck/00check.log

Lines changed: 0 additions & 13 deletions
This file was deleted.

DESCRIPTION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@ Imports:
2626
base64enc,
2727
cli,
2828
curl,
29+
DBI,
30+
dbplyr,
2931
dplyr,
3032
glue,
3133
httr2 (>= 1.0.4),
3234
ini,
3335
jsonlite,
36+
methods,
3437
nanoarrow,
3538
purrr,
3639
R6,

NAMESPACE

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

3+
S3method(dbplyr_edition,DatabricksConnection)
4+
S3method(sql_query_fields,DatabricksConnection)
5+
S3method(sql_query_save,DatabricksConnection)
6+
S3method(sql_table_analyze,DatabricksConnection)
7+
export(DatabricksSQL)
38
export(access_control_req_group)
49
export(access_control_req_user)
510
export(access_control_request)
@@ -240,9 +245,58 @@ export(spark_submit_task)
240245
export(sql_file_task)
241246
export(sql_query_task)
242247
export(wait_for_lib_installs)
248+
exportClasses(DatabricksConnection)
249+
exportClasses(DatabricksDriver)
250+
exportClasses(DatabricksResult)
251+
exportMethods(dbBegin)
252+
exportMethods(dbClearResult)
253+
exportMethods(dbColumnInfo)
254+
exportMethods(dbCommit)
255+
exportMethods(dbConnect)
256+
exportMethods(dbDataType)
257+
exportMethods(dbDisconnect)
258+
exportMethods(dbExecute)
259+
exportMethods(dbExistsTable)
260+
exportMethods(dbFetch)
261+
exportMethods(dbGetInfo)
262+
exportMethods(dbGetQuery)
263+
exportMethods(dbGetRowCount)
264+
exportMethods(dbGetRowsAffected)
265+
exportMethods(dbGetStatement)
266+
exportMethods(dbHasCompleted)
267+
exportMethods(dbIsReadOnly)
268+
exportMethods(dbIsValid)
269+
exportMethods(dbListFields)
270+
exportMethods(dbListTables)
271+
exportMethods(dbQuoteIdentifier)
272+
exportMethods(dbRollback)
273+
exportMethods(dbSendQuery)
274+
exportMethods(dbSendStatement)
275+
exportMethods(show)
276+
import(DBI)
243277
import(cli)
244278
import(httr2)
279+
importFrom(DBI,SQL)
280+
importFrom(R6,R6Class)
281+
importFrom(cli,cli_abort)
282+
importFrom(dbplyr,base_agg)
283+
importFrom(dbplyr,base_scalar)
284+
importFrom(dbplyr,base_win)
285+
importFrom(dbplyr,dbplyr_edition)
286+
importFrom(dbplyr,sql)
287+
importFrom(dbplyr,sql_prefix)
288+
importFrom(dbplyr,sql_query_fields)
289+
importFrom(dbplyr,sql_query_save)
290+
importFrom(dbplyr,sql_quote)
291+
importFrom(dbplyr,sql_table_analyze)
292+
importFrom(dbplyr,sql_translator)
293+
importFrom(dbplyr,sql_variant)
294+
importFrom(dbplyr,translate_sql)
245295
importFrom(glue,glue)
296+
importFrom(glue,glue_sql)
297+
importFrom(methods,new)
298+
importFrom(methods,setClass)
299+
importFrom(methods,setMethod)
246300
importFrom(rlang,.data)
247301
importFrom(stats,setNames)
248302
importFrom(utils,object.size)

0 commit comments

Comments
 (0)