Skip to content

Commit

Permalink
[Minor][Spark] Fix Spark comparison bug (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglei1949 authored Jan 10, 2024
1 parent c68f430 commit 955b3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spark/src/main/scala/com/alibaba/graphar/util/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ object Utils {
val isPrimary: Boolean =
if (
(primaryKeys(key) == "" && properties
.size() == 0) || field.name == primaryKeys
.size() == 0) || field.name.equals(primaryKeys(key))
) true
else false
property.setIs_primary(isPrimary)
Expand Down

0 comments on commit 955b3a5

Please sign in to comment.