Skip to content

Commit 2a8115d

Browse files
author
Oscar D. Lara Yejas
committed
Made spacing uniform for types.R
1 parent 2701898 commit 2a8115d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

R/pkg/R/types.R

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,22 @@ COMPLEX_TYPES <- list(
4848
DATA_TYPES <- as.environment(c(as.list(PRIMITIVE_TYPES), COMPLEX_TYPES))
4949

5050
SHORT_TYPES <- as.environment(list(
51-
"character"="chr",
52-
"logical"="logi",
53-
"POSIXct"="POSIXct",
54-
"integer"="int",
55-
"numeric"="num",
56-
"raw"="raw",
57-
"Date"="Date",
58-
"map"="map",
59-
"array"="array",
60-
"struct"="struct"
51+
"character" = "chr",
52+
"logical" = "logi",
53+
"POSIXct" = "POSIXct",
54+
"integer" = "int",
55+
"numeric" = "num",
56+
"raw" = "raw",
57+
"Date" = "Date",
58+
"map" = "map",
59+
"array" = "array",
60+
"struct" = "struct"
6161
))
6262

6363
# An environment for mapping R to Scala, names are R types and values are Scala types.
6464
rToSQLTypes <- as.environment(list(
65-
"integer" = "integer", # in R, integer is 32bit
66-
"numeric" = "double", # in R, numeric == double which is 64bit
67-
"double" = "double",
65+
"integer" = "integer", # in R, integer is 32bit
66+
"numeric" = "double", # in R, numeric == double which is 64bit
67+
"double" = "double",
6868
"character" = "string",
69-
"logical" = "boolean"))
69+
"logical" = "boolean"))

0 commit comments

Comments
 (0)