Skip to content

Commit 3b33d70

Browse files
committed
More operator rules
Signed-off-by: Nicholas Gates <[email protected]>
1 parent dcc4aae commit 3b33d70

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

encodings/runend/src/array.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,6 @@ impl RunEndArray {
283283
ends.scalar_at(ends.len() - 1).as_ref().try_into()?
284284
};
285285

286-
if values.len() == 1 {
287-
vortex_panic!("RunEndArray CONSTANT");
288-
}
289-
290286
Self::try_new_offset_length(ends, values, 0, length)
291287
}
292288

@@ -301,10 +297,6 @@ impl RunEndArray {
301297
) -> VortexResult<Self> {
302298
Self::validate(&ends, &values, offset, length)?;
303299

304-
if values.len() == 1 {
305-
vortex_panic!("RunEndArray CONSTANT");
306-
}
307-
308300
Ok(Self {
309301
ends,
310302
values,
@@ -328,9 +320,6 @@ impl RunEndArray {
328320
offset: usize,
329321
length: usize,
330322
) -> Self {
331-
if values.len() == 1 {
332-
vortex_panic!("RunEndArray CONSTANT");
333-
}
334323
Self {
335324
ends,
336325
values,

0 commit comments

Comments
 (0)