Skip to content

Commit 2632f1d

Browse files
authored
support geo for reader (#11)
1 parent 02919c9 commit 2632f1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nebula-spark-connector/src/main/scala/com/vesoft/nebula/connector/reader/NebulaPartitionReader.scala

+3
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ abstract class NebulaPartitionReader extends InputPartitionReader[InternalRow] {
106106
if (value.isDouble) {
107107
getters(i).apply(value.asDouble(), mutableRow, i)
108108
}
109+
if (value.isGeography) {
110+
getters(i).apply(value.asGeography(), mutableRow, i)
111+
}
109112
}
110113
mutableRow
111114
}

0 commit comments

Comments
 (0)