Overview
- Add
presto_type()function fortbl_prestoobjects to get column type information including Presto types for complex and nested types. This function works with remote tables after dplyr operations and CTEs. - Add
dbColumnType()function forPrestoConnectionto get column type information for tables, including Presto types for complex and nested types. This complements the existingdbColumnInfo()method forPrestoResultobjects. (#295) - Add
dbAppendTableAs()andsqlAppendTableAs()functions to append data to existing tables using SQL queries. These functions support both SQL strings andtbl_prestoobjects as input. (#307) - Implement
db_save_query()for PrestoConnection with smart overwriting. When overwriting an existing table, the function renames the original table, creates the new table, and drops the old table on success. If creation fails, the original table is restored. This prevents data loss if the write operation fails. (#271)
Show all changes in 1.4.8Hide the rest of the changes in 1.4.8
- Add
presto_unnest()function to unnest array columns in Presto tables usingCROSS JOIN UNNESTsyntax. This function is similar totidyr::unnest()but works with Presto database tables. (#267) - Replaced deprecated
with_mock()usage in unit testing withwith_mocked_bindings(). (#292) - Add a feature to report text similarity when a CTE is overwritten. (#294)
- BIGINT to integer coercion now emits column-aware overflow warnings, including full nested paths. This can be controlled via
options(rpresto.bigint_overflow.warning = TRUE|FALSE). (#198)
From NEWS.md in the release
Install
Health
CRAN check results are not tracked yet.
- ERROR11 OK, 2 ERROR2026-06-18
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 38 (21 internal)includes a package overview page
- Examples that run
- 30%3 run in a plain check · 7 never run
- Exported functions with examples
- 50%
- Documented parameters
- 100%
- Return-value docs
- 36%
- Help pages citing references
- 0%
Downloads
Repository
Last recorded for this package on 2026-08-23. The package was removed from CRAN, so this repository is no longer tracked.
5 development-tooling and community-health practices detected across 4 families in the repository last recorded for this package
Checks last ran against github.com/prestodb/rpresto on 2026-08-23. The package was removed from CRAN, so this is no longer updated.
Dependencies
Code & Tests
People & History
Previously maintained by Thomas J. Leeper (1.3.6 to 1.3.7) and Onur Ismail Filiz (1.2.0 to 1.3.5).
Pick two releases to compare their code metrics.
- archivedRemoved from CRAN2026-08-24issues were not corrected in time
- RR 4.6.0 released · 2026-04-24
- 1.4.82025-12-02 · diff ↗ ·
added 5 exports
dbAppendTableAs, dbColumnType, presto_type, presto_unnest, sqlAppendTableAs - RR 4.5.0 released · 2025-04-11
- 1.4.72025-01-08 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.4.62023-11-01 · diff ↗
- 1.4.52023-05-05 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.4.42023-03-09 · diff ↗
- 1.4.32023-03-03 · diff ↗
- 1.4.2
- 1.4.1
- 1.4.02022-09-27 · diff ↗ ·
removed 10 exports
sql_escape_date.PrestoConnection, sql_escape_datetime.PrestoConnection, copy_to.src_presto, db_data_type.PrestoConnection, db_desc.PrestoConnection, db_explain.PrestoConnection, db_query_fields.PrestoConnection, db_query_rows.PrestoConnection, sql_translate_env.PrestoConnection, tbl.src_prestoadded 4 exports
dbCreateTableAs, presto_default, presto_has_default, sqlCreateTableAs - RR 4.2.0 released · 2022-04-22
- 1.3.72021-09-04 · diff ↗
Show 16 earlier eventsHide 16 earlier events
- 1.3.62021-05-31 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.3.52020-11-13 · diff ↗ ·
added 2 exports
sql_escape_date.PrestoConnection, sql_escape_datetime.PrestoConnection - RR 4.0.0 released · 2020-04-24
- 1.3.42019-10-18 · diff ↗
- 1.3.32019-05-04 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.3.2
- 1.3.12018-09-10 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.3.0
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.2.12016-04-06 · diff ↗ ·
added 2 exports
db_query_fields.PrestoConnection, sql_translate_env.PrestoConnection - 1.2.02016-03-18
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2016-03-18
- Total releases
- 19 / 10 yrs
- License
- BSD_3_clause + file LICENSE OSI
- Copyright
- Meta Platforms, Inc. 2015-present.
- Minimum R
- ≥ 3.1.0
- Download size
- 166 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RPresto")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.