Skip to content

Commit a2bc892

Browse files
committed
Set object_store_enabled as false by default in Iceberg
1 parent cd1965d commit a2bc892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergTableProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public static List<String> getParquetBloomFilterColumns(Map<String, Object> tabl
266266

267267
public static boolean getObjectStoreEnabled(Map<String, Object> tableProperties)
268268
{
269-
return (Boolean) tableProperties.get(OBJECT_STORE_ENABLED_PROPERTY);
269+
return (boolean) tableProperties.getOrDefault(OBJECT_STORE_ENABLED_PROPERTY, false);
270270
}
271271

272272
public static Optional<String> getDataLocation(Map<String, Object> tableProperties)

0 commit comments

Comments
 (0)