We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c68f430 commit 955b3a5Copy full SHA for 955b3a5
1 file changed
spark/src/main/scala/com/alibaba/graphar/util/Utils.scala
@@ -127,7 +127,7 @@ object Utils {
127
val isPrimary: Boolean =
128
if (
129
(primaryKeys(key) == "" && properties
130
- .size() == 0) || field.name == primaryKeys
+ .size() == 0) || field.name.equals(primaryKeys(key))
131
) true
132
else false
133
property.setIs_primary(isPrimary)
0 commit comments