Reranko05 commented on issue #50437:
URL: https://github.com/apache/arrow/issues/50437#issuecomment-4926817589

   Hi @kou, while investigating this issue I found that 
`PrimitiveArray#initialize` currently distinguishes constructors based on 
whether the class defines type, which conflicts with adding `new(values)` for 
interval arrays while preserving the existing internal `new(type, size, 
validity, values_buffer)` constructor. My current prototype works for 
`new(values)` but breaks the internal constructor. 
   
   Would you prefer extending `PrimitiveArray#initialize` to dispatch based on 
argument count, or is there another approach you'd like for interval arrays?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to