Skip to content

Allow NULL to remove columns #194

@hadley

Description

@hadley
library(dplyr, warn.conflicts = FALSE)

dbplyr::memdb_frame(x = 1:5, y = 1:5) %>% 
  mutate(
    x1 = x + 1,
    z = x1 + x,
    x1 = NULL
  ) %>% 
  show_query()
#> Error in if (length(ans) == 0L || as.character(ans[[1L]])[1L] == "~") {: missing value where TRUE/FALSE needed

Created on 2018-12-24 by the reprex package (v0.2.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementfunc trans 🌍Translation of individual functions to SQL

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions