Skip to content

Commit 181d189

Browse files
removed redundant check
1 parent 533d9d2 commit 181d189

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/parseable/mod.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -462,13 +462,6 @@ impl Parseable {
462462
validate_custom_partition(custom_partition)?;
463463
}
464464

465-
if !time_partition.is_empty() && custom_partition.is_some() {
466-
return Err(StreamError::Custom {
467-
msg: "Cannot set both time partition and custom partition".to_string(),
468-
status: StatusCode::BAD_REQUEST,
469-
});
470-
}
471-
472465
let schema = validate_static_schema(
473466
body,
474467
stream_name,

0 commit comments

Comments
 (0)