Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
aviator-app[bot] authored Dec 22, 2023
1 parent 112f6d1 commit 26a5777
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions tests/testthat/_snaps/filter-dm.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
Output
-- Table source ----------------------------------------------------------------
src: mysql [@localhost:NA/test]
-- Metadata --------------------------------------------------------------------
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
Columns: 20
Expand All @@ -24,6 +26,8 @@
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
Output
-- Table source ----------------------------------------------------------------
src: mysql [@localhost:NA/test]
-- Metadata --------------------------------------------------------------------
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
Columns: 20
Expand All @@ -38,6 +42,8 @@
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
Output
-- Table source ----------------------------------------------------------------
src: mysql [@localhost:NA/test]
-- Metadata --------------------------------------------------------------------
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
Columns: 20
Expand All @@ -50,6 +56,8 @@
`dm_apply_filters()` was deprecated in dm 1.0.0.
i Calling `dm_apply_filters()` after `dm_filter()` is no longer necessary.
Output
-- Table source ----------------------------------------------------------------
src: mysql [@localhost:NA/test]
-- Metadata --------------------------------------------------------------------
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
Columns: 20
Expand All @@ -62,25 +70,23 @@
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
Output
# A tibble: 3 x 4
c d e e1
<chr> <int> <chr> <int>
1 worm 5 G 7
1 cat 7 F 6
2 dog 6 E 5
3 cat 7 F 6
3 worm 5 G 7
Code
dm_filter(dm_for_filter(), tf_1 = a > 4) %>% dm_apply_filters_to_tbl(tf_2)
Condition
Warning:
`dm_apply_filters_to_tbl()` was deprecated in dm 1.0.0.
i Access tables directly after `dm_filter()`.
Output
# A tibble: 3 x 4
c d e e1
<chr> <int> <chr> <int>
1 worm 5 G 7
1 cat 7 F 6
2 dog 6 E 5
3 cat 7 F 6
3 worm 5 G 7
Code
dm_filter(dm_for_filter(), tf_1, a > 4) %>% dm_get_filters()
Condition
Expand Down

0 comments on commit 26a5777

Please sign in to comment.