Here is a reprex.
I guess it's an etl rather than airlines issue, though.
If MonetDBLite hasn't been implemented yet as a backend for etl, I'd be happy to help to the extent of my skills (they don't go very far in SQL, though). Maybe @hannesmuehleisen or @ajdamico might want to help as well?
library(MonetDBLite)
library(airlines)
conn <- src_monetdblite()
airlines <- etl("airlines", conn)
airlines %>%
etl_create(years = 1987, months = 10)
#> Error in .local(conn, statement, ...): Unable to execute statement 'DROP VIEW IF EXISTS summary'.
#> Server says 'syntax error, unexpected IF in: "drop view if"
#> ' [#42000].
sessionInfo()
#> R version 3.3.1 (2016-06-21)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: Ubuntu 14.04.4 LTS
#>
#> locale:
#> [1] LC_CTYPE=fr_FR.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=fr_FR.UTF-8 LC_COLLATE=fr_FR.UTF-8
#> [5] LC_MONETARY=fr_FR.UTF-8 LC_MESSAGES=fr_FR.UTF-8
#> [7] LC_PAPER=fr_FR.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> other attached packages:
#> [1] reprex_0.0.0.9001 airlines_0.2.2.9009 etl_0.3.2.9000
#> [4] dplyr_0.5.0 MonetDBLite_0.3.2
#>
#> loaded via a namespace (and not attached):
#> [1] Rcpp_0.12.6 lubridate_1.5.6 codetools_0.2-14
#> [4] tidyr_0.5.1 digest_0.6.9 assertthat_0.1
#> [7] R6_2.1.2 DBI_0.4-1 formatR_1.4
#> [10] magrittr_1.5 evaluate_0.9 stringi_1.1.1
#> [13] lazyeval_0.2.0.9000 rmarkdown_1.0 tools_3.3.1
#> [16] readr_0.2.2.9000 stringr_1.0.0 yaml_2.1.13
#> [19] rsconnect_0.4.3 clipr_0.2.1 htmltools_0.3.5
#> [22] knitr_1.13 tibble_1.1
Here is a reprex.
I guess it's an
etlrather thanairlinesissue, though.If
MonetDBLitehasn't been implemented yet as a backend foretl, I'd be happy to help to the extent of my skills (they don't go very far in SQL, though). Maybe @hannesmuehleisen or @ajdamico might want to help as well?