From a1928be8c24e8444daf6173d513aade66e04bcf3 Mon Sep 17 00:00:00 2001 From: Dominik Przybysz Date: Wed, 3 Apr 2024 08:18:08 +0200 Subject: [PATCH] SNOW-1234216: Read structured type enabled flag value --- .../snowflake/client/core/structs/StructureTypeHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/snowflake/client/core/structs/StructureTypeHelper.java b/src/main/java/net/snowflake/client/core/structs/StructureTypeHelper.java index 5718573e2..46e8bb2e8 100644 --- a/src/main/java/net/snowflake/client/core/structs/StructureTypeHelper.java +++ b/src/main/java/net/snowflake/client/core/structs/StructureTypeHelper.java @@ -5,8 +5,8 @@ @SnowflakeJdbcInternalApi public class StructureTypeHelper { private static final String STRUCTURED_TYPE_ENABLED_PROPERTY_NAME = "STRUCTURED_TYPE_ENABLED"; - private static boolean structuredTypeEnabled = true; - // Boolean.valueOf(System.getProperty(STRUCTURED_TYPE_ENABLED_PROPERTY_NAME)); + private static boolean structuredTypeEnabled = + Boolean.valueOf(System.getProperty(STRUCTURED_TYPE_ENABLED_PROPERTY_NAME)); public static boolean isStructureTypeEnabled() { return structuredTypeEnabled;