Skip to content

Commit 469f102

Browse files
[create-pull-request] automated change
1 parent 112f6d1 commit 469f102

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

tests/testthat/_snaps/filter-dm.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
88
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.
99
Output
10+
-- Table source ----------------------------------------------------------------
11+
src: DuckDB v0.9.2 [unknown@Linux 6.2.0-1018-azure:R 4.3.2/:memory:]
1012
-- Metadata --------------------------------------------------------------------
1113
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
1214
Columns: 20
@@ -24,6 +26,8 @@
2426
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
2527
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.
2628
Output
29+
-- Table source ----------------------------------------------------------------
30+
src: DuckDB v0.9.2 [unknown@Linux 6.2.0-1018-azure:R 4.3.2/:memory:]
2731
-- Metadata --------------------------------------------------------------------
2832
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
2933
Columns: 20
@@ -38,6 +42,8 @@
3842
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
3943
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.
4044
Output
45+
-- Table source ----------------------------------------------------------------
46+
src: DuckDB v0.9.2 [unknown@Linux 6.2.0-1018-azure:R 4.3.2/:memory:]
4147
-- Metadata --------------------------------------------------------------------
4248
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
4349
Columns: 20
@@ -50,6 +56,8 @@
5056
`dm_apply_filters()` was deprecated in dm 1.0.0.
5157
i Calling `dm_apply_filters()` after `dm_filter()` is no longer necessary.
5258
Output
59+
-- Table source ----------------------------------------------------------------
60+
src: DuckDB v0.9.2 [unknown@Linux 6.2.0-1018-azure:R 4.3.2/:memory:]
5361
-- Metadata --------------------------------------------------------------------
5462
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
5563
Columns: 20
@@ -62,7 +70,6 @@
6270
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
6371
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.
6472
Output
65-
# A tibble: 3 x 4
6673
c d e e1
6774
<chr> <int> <chr> <int>
6875
1 worm 5 G 7
@@ -75,7 +82,6 @@
7582
`dm_apply_filters_to_tbl()` was deprecated in dm 1.0.0.
7683
i Access tables directly after `dm_filter()`.
7784
Output
78-
# A tibble: 3 x 4
7985
c d e e1
8086
<chr> <int> <chr> <int>
8187
1 worm 5 G 7
@@ -223,6 +229,9 @@
223229
Code
224230
dm_for_filter_rev() %>% dm_filter(tf_1 = a < 8 & a > 3) %>% dm_get_tables() %>%
225231
map(harmonize_tbl)
232+
Condition
233+
Warning:
234+
Autoincrementing columns not yet supported for DuckDB, these won't be set in the remote database but are preserved in the `dm`
226235
Output
227236
$tf_6
228237
# A tibble: 2 x 3

0 commit comments

Comments
 (0)