diff --git a/src/main/java/com/firebolt/jdbc/type/BaseType.java b/src/main/java/com/firebolt/jdbc/type/BaseType.java index bf8677dd..e99e0838 100644 --- a/src/main/java/com/firebolt/jdbc/type/BaseType.java +++ b/src/main/java/com/firebolt/jdbc/type/BaseType.java @@ -102,7 +102,7 @@ public enum BaseType { private static final class TypePredicate { private static final Predicate mayBeFloatingNumber = Pattern.compile("[.eE]").asPredicate(); } - public static final String NULL_VALUE = "NULL"; + public static final String NULL_VALUE = "\\N"; private final Class type; private final Predicate shouldTryFallback; private final CheckedFunction[] transformFunctions; @@ -135,7 +135,7 @@ private static String checkInfinity(String s) { } public static boolean isNull(String value) { - return NULL_VALUE.equalsIgnoreCase(value); + return NULL_VALUE.equals(value); } private static boolean isNan(String value) {