1. Doesn't seem to respect columns for SQL sources: ``` r > memdb_frame(a=1, b=2) %>% distinct(a, .keep_all = TRUE) %>% sql_render <SQL> SELECT DISTINCT * FROM `iksbzxasdl` ``` Expected: `SELECT DISTINCT(a)` 2. Error with `.keep_all = FALSE` for SQL sources seems unnecessary, could be implemented with a second `SELECT`: ``` r > memdb_frame(a=1, b=2) %>% distinct(a) %>% sql_render <SQL> SELECT a FROM (SELECT DISTINCT(a) FROM `iksbzxasdl`) ```
Doesn't seem to respect columns for SQL sources:
Expected:
SELECT DISTINCT(a)Error with
.keep_all = FALSEfor SQL sources seems unnecessary, could be implemented with a secondSELECT: