Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-yuwang committed Jun 4, 2024
1 parent 3ca408b commit 8926dfb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/scala/com/snowflake/snowpark/types/Variant.scala
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ class Variant private[snowpark] (
this({
try {
// `ObjectMapper` only reads the first token from the input string but not the whole string.
// For example, it can successfully convert "null dummy" to
// `null` value without reporting error.
// It can successfully convert "null dummy" to `null` value without reporting error.
if (str.toLowerCase().startsWith("null") && str != "null") {
JsonNodeFactory.instance.textNode(str)
} else {
Expand Down

0 comments on commit 8926dfb

Please sign in to comment.