This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 0b3c45983c MINOR: [Ruby][Gandiva][Docs] Fix syntax error in example 
(#39551)
0b3c45983c is described below

commit 0b3c45983cff4d9c9ac4aec5c4eff8071721b775
Author: dsisnero <[email protected]>
AuthorDate: Wed Jan 10 17:16:24 2024 -0700

    MINOR: [Ruby][Gandiva][Docs] Fix syntax error in example (#39551)
    
    ### Rationale for this change
    
    Example code has syntax error.
    
    ### What changes are included in this PR?
    
    Fix the syntax error.
    
    ### Are these changes tested?
    
    No.
    
    ### Are there any user-facing changes?
    
    Yes.
    
    Authored-by: dsisnero <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 ruby/red-gandiva/README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ruby/red-gandiva/README.md b/ruby/red-gandiva/README.md
index aa3c0ba030..a4df75ec8a 100644
--- a/ruby/red-gandiva/README.md
+++ b/ruby/red-gandiva/README.md
@@ -63,6 +63,6 @@ end
 projector = Gandiva::Projector.new(schema, [expression1, expression2])
 table.each_record_batch do |record_batch|
   outputs = projector.evaluate(record_batch)
-  puts outputs.collect(&:values))
+  puts outputs.collect(&:values)
 end
 ```

Reply via email to