Skip to content

Commit

Permalink
[native] Add spill max file size to session property
Browse files Browse the repository at this point in the history
  • Loading branch information
tanjialiang authored and xiaoxmeng committed Oct 12, 2023
1 parent aa39d9c commit 1216027
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ public final class SystemSessionProperties
public static final String NATIVE_JOIN_SPILL_MEMORY_THRESHOLD = "native_join_spill_memory_threshold";
public static final String NATIVE_ORDER_BY_SPILL_MEMORY_THRESHOLD = "native_order_by_spill_memory_threshold";
public static final String NATIVE_MAX_SPILL_LEVEL = "native_max_spill_level";
public static final String NATIVE_MAX_SPILL_FILE_SIZE = "native_max_spill_file_size";
public static final String NATIVE_SPILL_COMPRESSION_CODEC = "native_spill_compression_codec";
public static final String NATIVE_SPILL_WRITE_BUFFER_SIZE = "native_spill_write_buffer_size";
public static final String NATIVE_JOIN_SPILL_ENABLED = "native_join_spill_enabled";
Expand Down Expand Up @@ -1531,6 +1532,11 @@ public SystemSessionProperties(
"0 is the initial spilling level, -1 means unlimited.",
4,
false),
integerProperty(
NATIVE_MAX_SPILL_FILE_SIZE,
"The max allowed spill file size. If it is zero, then there is no limit.",
0,
false),
stringProperty(
NATIVE_SPILL_COMPRESSION_CODEC,
"Native Execution only. The compression algorithm type to compress the spilled data.\n " +
Expand Down

0 comments on commit 1216027

Please sign in to comment.