darwin-eu / CDMConnector

A pipe friendly way to interact with an OMOP Common Data Model
https://darwin-eu.github.io/CDMConnector/
Apache License 2.0
12 stars 10 forks source link

arrange() does not work before using collect() #19

Open SulevR opened 7 months ago

SulevR commented 7 months ago

When trying to use dplyr arrange() function before collect(), it does not work.

Steps to reproduce:

cdm$condition_occurrence %>%
  arrange(condition_concept_id) %>%
  show_query()

ACTUAL RESULT:

  SELECT *
  FROM main.condition_occurrence

EXPECTED RESULT:

  SELECT *
  FROM main.condition_occurrence
  ORDER BY condition_concept_id