Skip to content

Commit a010d96

Browse files
authored
fix(query): change default format_null_as_str to false (#18026)
1 parent 58f4ed5 commit a010d96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common/io/src/format_settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl Default for FormatSettings {
3434
jiff_timezone: TimeZone::UTC,
3535
geometry_format: GeometryDataType::default(),
3636
enable_dst_hour_fix: false,
37-
format_null_as_str: true,
37+
format_null_as_str: false,
3838
}
3939
}
4040
}

src/query/settings/src/settings_default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ impl DefaultSettings {
11161116
range: Some(SettingRange::Numeric(0..=1)),
11171117
}),
11181118
("format_null_as_str", DefaultSettingValue {
1119-
value: UserSettingValue::UInt64(1),
1119+
value: UserSettingValue::UInt64(0),
11201120
desc: "Format NULL as str in query api response",
11211121
mode: SettingMode::Both,
11221122
scope: SettingScope::Both,

0 commit comments

Comments
 (0)