You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/08 04:57:09 UTC

[GitHub] [arrow] kou commented on a change in pull request #12529: ARROW-15749: [Ruby] Add support for #values of Month Interval Type

kou commented on a change in pull request #12529:
URL: https://github.com/apache/arrow/pull/12529#discussion_r821321192



##########
File path: ruby/red-arrow/ext/arrow/converters.hpp
##########
@@ -202,6 +202,13 @@ namespace red_arrow {
     //                      const int64_t i) {
     // };
 
+

Review comment:
       ```suggestion
   ```

##########
File path: ruby/red-arrow/ext/arrow/converters.hpp
##########
@@ -202,6 +202,13 @@ namespace red_arrow {
     //                      const int64_t i) {
     // };
 
+
+    inline VALUE convert(const arrow::MonthIntervalArray& array,
+                         const int64_t i) {
+      return INT2NUM(array.Value(i));
+    }
+

Review comment:
       ```suggestion
   ```




-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org