zeroshade commented on a change in pull request #10106:
URL: https://github.com/apache/arrow/pull/10106#discussion_r619890930



##########
File path: go/arrow/example_test.go
##########
@@ -593,3 +593,66 @@ func Example_table() {
        // rec[3]["f1-i32"]: [16 17 18 19 20]
        // rec[3]["f2-f64"]: [16 17 18 19 20]
 }
+
+// This example demonstrates how to create a Map Array.
+// The resulting array should be:

Review comment:
       By putting the comment at the end of the method here in that format this 
example actually gets run as a test when running tests and confirms that the 
output of running this method matches the output comment at the end of the 
method. moving the comment at the end of the method would disable that benefit. 




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to