Skip to content

Commit

Permalink
enable BOOLEAN SQL datatype for the logical R type
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrahn committed May 25, 2016
1 parent 5434a54 commit b795231
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/src-snowflakedb.R
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,7 @@ db_insert_into.SnowflakeDBConnection <- function(con, table, values, ...) {
db_data_type.SnowflakeDBConnection <- function(con, fields) {
data_type <- function(x) {
switch(class(x)[1],
# logical = "BOOLEAN",
logical = "VARCHAR(1)",
logical = "BOOLEAN",
integer = "NUMBER(10)",
numeric = "DOUBLE",
factor = "VARCHAR",
Expand Down

0 comments on commit b795231

Please sign in to comment.