From e401f7a2449ce9cdbb367e45e5873e2c6b60432f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sun, 27 Oct 2024 19:23:39 +0100 Subject: [PATCH] feat: Rely on duckdb to check const feasibility (#293) --- R/relational-duckdb.R | 3 --- 1 file changed, 3 deletions(-) diff --git a/R/relational-duckdb.R b/R/relational-duckdb.R index f3002f81..002a01df 100644 --- a/R/relational-duckdb.R +++ b/R/relational-duckdb.R @@ -425,9 +425,6 @@ to_duckdb_expr <- function(x) { out }, relational_relexpr_constant = { - # FIXME: Should be duckdb's responsibility - check_df_for_rel(tibble(constant = x$val)) - if ("experimental" %in% names(formals(duckdb$expr_constant))) { experimental <- (Sys.getenv("DUCKPLYR_EXPERIMENTAL") == "TRUE") out <- duckdb$expr_constant(x$val, experimental = experimental)