arashandishgar commented on issue #44615: URL: https://github.com/apache/arrow/issues/44615#issuecomment-2665740728
> > I have a question regarding what offset should be used for storing? According to this [link](https://github.com/google/re2/issues/24#issuecomment-97653183) the offset can be achieved by pointer arithmetic. Is it safe to store in 32-bit space for a regular string array? > > What do you mean? The "start" field above would be an offset relative to the start of string, not a pointer. I mean, is it safe to minus two pointers from each other and cast the result from 64-bit to 32-bit? I know that the maximum range for a string array is 2 GB. I do not assume any special case. I just ask to sure that casting from 64-bit to 32-bit is safe. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org