Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed May 26, 2016
1 parent ee74d1a commit b272cf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/translate-sql.r
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ translate_sql_ <- function(dots,
variant <- sql_translate_env(con)

if (window) {
old_group <- set_partition_group(escape(ident(vars_group), con = con))
old_group <- set_partition_group(vars_group)
on.exit(set_partition_group(old_group), add = TRUE)

old_order <- set_partition_order(escape(ident(vars_order), con = con))
old_order <- set_partition_order(vars_order)
on.exit(set_partition_order(old_order), add = TRUE)
}

Expand Down

0 comments on commit b272cf2

Please sign in to comment.