Disable applying double quotes on offset field

This seem to causing issues with BQ
This commit is contained in:
Michael Schmidt 2022-02-25 14:30:41 -06:00 committed by GitHub
parent 1c41f3e330
commit af10112bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -74,11 +74,11 @@ createDdl <- function(cdmVersion){
closing_sql <- (",")
}
if (fieldName=="offset") {
field <- paste0('"',fieldName,'"')
} else {
field <- fieldName
}
# if (fieldName=="offset") {
# field <- paste0('"',fieldName,'"')
# } else {
# field <- fieldName
# }
fieldSql <- paste0("\n\t\t\t",
field," ",
subset(fields, cdmFieldName == fieldName, cdmDatatype),