File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff 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,
You can’t perform that action at this time.
0 commit comments