zeroshade commented on code in PR #683: URL: https://github.com/apache/arrow-nanoarrow/pull/683#discussion_r1850874259
########## src/nanoarrow/common/inline_types.h: ########## @@ -916,13 +922,14 @@ static inline void ArrowDecimalInit(struct ArrowDecimal* decimal, int32_t bitwid memset(decimal->words, 0, sizeof(decimal->words)); decimal->precision = precision; decimal->scale = scale; + // n_words will be 0 for bitwidth == 32 Review Comment: Added a note for the documentation of both `n_words` and `words` to indicate the behavior for 32-bit decimal values. -- 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]
