bkietz commented on code in PR #46180: URL: https://github.com/apache/arrow/pull/46180#discussion_r2054443647
########## cpp/src/arrow/util/from_json_test.cc: ########## @@ -916,7 +914,8 @@ TEST(TestMap, IntegerMapToStringList) { auto& key_key_builder = checked_cast<Int16Builder&>(*key_builder.key_builder()); auto& key_item_builder = checked_cast<Int16Builder&>(*key_builder.item_builder()); auto& item_builder = checked_cast<ListBuilder&>(*map_builder.item_builder()); - auto& item_value_builder = checked_cast<StringBuilder&>(*item_builder.value_builder()); + auto& item_value_builder = + checked_cast<class StringBuilder&>(*item_builder.value_builder()); Review Comment: Could you use the explicit namespace? (the corresponding function is `arrow::util::StringBuilder` and we should probably rename it too) ```c++ checked_cast<arrow::StringBuilder&>(*item_builder.value_builder()); ``` -- 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