Skip to content

Commit 1636d31

Browse files
add field count to warning
1 parent 566ea15 commit 1636d31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/handlers/http/modal/utils/ingest_utils.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,9 @@ fn verify_dataset_fields_count(stream_name: &str) -> Result<(), PostError> {
218218
// Check if the fields count exceeds the warn threshold
219219
if fields_count > dataset_fields_warn_threshold as usize {
220220
tracing::warn!(
221-
"Total fields in dataset {0} has reached the warning threshold of {1}. Ingestion will not be possible after reaching {2} fields. We recommend creating a new dataset.",
221+
"Dataset {0} has {1} fields, which exceeds the warning threshold of {2}. Ingestion will not be possible after reaching {3} fields. We recommend creating a new dataset.",
222222
stream_name,
223+
fields_count,
223224
dataset_fields_warn_threshold as usize,
224225
PARSEABLE.options.dataset_fields_allowed_limit
225226
);

0 commit comments

Comments
 (0)