zbaranow opened a new pull request, #524: URL: https://github.com/apache/ranger/pull/524
## What changes were proposed in this pull request? - Fixed an issue where `short` values (e.g., `accessResult` field) were **not correctly converted to strings** before being written to ORC. - Modified `castStringObject(Object object)` to properly handle `Short` values by converting them to strings. ## Why is this needed? - Previously, `short` values were missing from the ORC output because they were **not handled in `castStringObject()`**, leading to incorrect (empty) values in the ORC file. - This fix ensures that `short` values are correctly converted to strings before being stored in ORC. ## How was this patch tested? - **Manual testing** by running the `main()` method from `OrcUtils.java`. - Verified that the **accessResult** column in the generated ORC file now contains the correct values instead of being empty. -- 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: dev-unsubscr...@ranger.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org