Maximilian Paulisch

Results 155 issues of Maximilian Paulisch

Needs https://github.com/tidyverse/dplyr/pull/6339

``` r library(dbplyr) library(dplyr, warn.conflicts = FALSE) lf % mutate(y = y + 1), by = "x", y_as = "y_plus_one" ) %>% show_query(cte = TRUE) ``` produces ```sql WITH `q01`...

feature
verb trans :robot:

```r library(dbplyr) library(dplyr, warn.conflicts = FALSE) lf % show_query(cte = TRUE) ``` produces ```sql WITH `q01` AS ( SELECT `df`.`x` AS `x`, `df`.`y` AS `y.x`, `lf2`.`y` AS `y.y` FROM `df`...

feature
verb trans :robot:

```r library(dplyr, warn.conflicts = FALSE) library(dbplyr, warn.conflicts = FALSE) lf

```r library(dplyr, warn.conflicts = FALSE) library(dbplyr, warn.conflicts = FALSE) lf % summarise( a = sum(a, na.rm = TRUE), b = sum(b, na.rm = TRUE) ), by = "x" ) %>%...

`*_join()` always produces a subquery if followed by other verbs: ``` r library(dplyr, warn.conflicts = FALSE) library(dbplyr, warn.conflicts = FALSE) lf FROM (SELECT `LHS`.`x` AS `x`, `y`, `z` #> FROM...

feature
verb trans :robot:

## Missing Variables The error message for missing variables is generated by the database. Therefore, the error message does not mention the verb where the issue is. ``` r library(dbplyr)...

feature
func trans :earth_africa:

Probably this is also needed in `rows_insert()`

feature
verb trans :robot:

``` r library(dplyr, warn.conflicts = FALSE) library(dbplyr, warn.conflicts = FALSE) # the generated SQL is obviously wrong memdb_frame(x = 1:2, y = 1:2) %>% tidyr::expand(x = 1:3, y) %>% show_query()...

feature
verb trans :robot:

The generated SQL is way more nested than it would have to be. It would be great if we could shorten the queries ## Nested Mutates This is probably not...

feature
verb trans :robot: