Created
August 30, 2017 06:43
-
-
Save pranasblk/f88c12da08e6637ae96927bbd10f5fb1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!require("RJDBC")) { | |
install.packages("RJDBC",repos="http://cran.rstudio.com/") | |
library("RJDBC") | |
} | |
jdbcDriver <- JDBC("org.apache.ignite.IgniteJdbcThinDriver", | |
"/Users/pranas/Apps/apache-ignite-fabric-2.1.0-bin/libs/ignite-core-2.1.0.jar:/Users/pranas/Apps/apache-ignite-fabric-2.1.0-bin/libs/log4j-1.2.17.jar") | |
conn <- dbConnect(jdbcDriver, "jdbc:ignite:thin://localhost") | |
dbGetQuery(conn, "SELECT * FROM OHLC Oder WHERE SECURITYID = 100") | |
dbDisconnect(conn) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like some meta-data mismatch: