hunght3101 opened a new issue #9737:
URL: https://github.com/apache/arrow/issues/9737


   user@
   In library
   ```
   // NewReader returns a reader that reads records from an input stream.
   func NewReader(r io.Reader, opts ...Option) (*Reader, error) {
        return NewReaderFromMessageReader(NewMessageReader(r), opts...)
   }
   ```
   How i create parameter `r` right when i call NewReader function ?
   Example : 
   ```
   var r io.Reader
   r = strings.NewReader(input)
   rr, err := ipc.NewReader(r, ipc.WithSchema(schema), ipc.WithAllocator(mem))
        if err != nil {
                fmt.Println(err)
        }
   ```
   How i create input ? 


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to