Releases: TidierOrg/TidierDB.jl
Releases · TidierOrg/TidierDB.jl
v0.6.2
v0.6.1
TidierDB v0.6.1
- Bumps julia LTS to 1.10
Merged pull requests:
v0.6.0
TidierDB v0.6.0
Breaking Changes
- Equi-joins no longer duplicate key columns
Additions
- Adds support for joining on multiple columns
- Adds support for inequality joins
- Adds support for AsOf / rolling joins
Bug fixes
- Fixes bug to allow array columns to be mutated in
Merged pull requests:
Closed issues:
- Support asof join types (#6)
v0.5.3
TidierDB v0.5.3
- adds
@relocate
- bug fix when reading file paths with
*
wildcard with DuckDB + allows users to add alias table name when reading file paths with * indb_table()
with optionalalias =
(alias otherwise sql defaults to'file_path' AS data
Merged pull requests:
v0.5.2
TidierDB v0.5.2
- add support for unnesting content to
@mutate
/@filter
etc viacolumn[key]
syntax - adds
_by
support to@mutate
and@summarize
for grouping within the macro call. - adds
_frame
and_order
support to@mutate
to allow windowing directly within the macro call - adds support for
n()
in@mutate
db_table(db, name_or_path)
now supports.geoparquet
paths for DuckDB
Merged pull requests:
- Add
_by
for muate/summarize, add unnesting support (#87) (@drizk1) - add _frame, _order to mutate (#88) (@drizk1)
Closed issues:
v0.5.1
TidierDB v0.5.1
- adds support for reusing TidierDB queries inside other macros, including
@mutate
,@filter
,@summarize
- adds
@union_all
to bind all rows not just distinct rows as with@union
- joining syntax now supports
(table1, table2, col_name)
when joining columns have shared name if_else
now has optional final argument for handling missing values to match TidierData
Merged pull requests:
v0.5.0
TidierDB v0.5.0
Breaking Changes:
- All join syntax now matches TidierData's
(table1, table2, t1_col = t2_col)
Additions:
@compute
for DuckDB, MySQL, PostGres, GBQ to write a table to the db at the end of a query.- expands
@create_view
to MySQL, PostGres, GBQ - Support for performing multiple joins of TidierDB queries in a single chain with further tests
dmy
,mdy
,ymd
support DuckDB, Postgres, GBQ, Clickhouse, MySQL, MsSQL, Athena, MsSQL- support for working with intervals ie
+ interval4days - interval5months
etc - Date related tests
copy_to
for MysQL to write a dataframe to MySQL database- 65 total tests matching TidierData to TidierDB results
Improvements:
- improve Google Big Query type mapping when collecting to dataframe
- change
gbq()
'sconnect()
to acceptlocation
as second argument str_detect
now supports regex for all backends except MsSQL + some tests@select(!table.name)
now works to deselect a column
Docs:
- Add duckplyr/duckdb reproducible example to docs
- Improve interpolation docs
Merged pull requests:
- Catch a bug then write a test (#70) (@drizk1)
- add copy_to2 (#72) (@vituri)
- resolve GBQ and MySQL toml issues (#76) (@drizk1)
- Regex support for str detect (#77) (@drizk1)
- small improvment in filepath reading (#79) (@drizk1)
Closed issues:
v0.4.1
TidierDB v0.4.1
- Adds 50 tests comparing TidierDB to TidierData to assure accuracy across a complex chains of operations, including combinations of
@mutate
,@summarize
,@filter
,@select
,@group_by
and@join
operations. - fixes some edge case bugs that came up writing these tests with
if_else
/case_when
assigningmissing
value
Merged pull requests:
v0.4.0
TidierDB v0.4.0
- adds
@create_view
-db_table
already supports using views - adds
drop_view
- adds support for joining a queried table with another queried table
- adds joining docs to outline using
t()
or@create_view
for post wrangling joins - bug fix to allow cross database/schema joins with duckdb
- corrects across name generation to be
name_func
to match TidierData, rather thanfunc_name
Breaking Change - To enable post wrangling joins, all joins no longer accept bare table names. tables that exist on a db must be written as strings or symbols (ie
"table.name"
or:table
)
Merged pull requests:
Closed issues:
v0.3.5
TidierDB v0.3.5
- enhances
@window_frame
to allow for just ato
orfrom
argument, as well as improved auto-detection forpreceding
,following
andunbounded
for the frame boundaries. - improves DuckDB
connect()
interface and documentation
Merged pull requests: