Wes McKinney created ARROW-1704:
-----------------------------------

             Summary: [GLib] Go example in test suite is broken
                 Key: ARROW-1704
                 URL: https://issues.apache.org/jira/browse/ARROW-1704
             Project: Apache Arrow
          Issue Type: Bug
          Components: GLib
            Reporter: Wes McKinney
             Fix For: 0.8.0


see e.g. https://travis-ci.org/apache/arrow/jobs/290802235

{code}
~/build/apache/arrow/c_glib/example/go ~/build/apache/arrow/c_glib 
~/build/apache/arrow
$GOPATH/bin/gir-generator       \
        -o $GOPATH/src/gir/arrow-1.0    \
        -config arrow-1.0/config.json   \
        arrow-1.0/arrow.go.in
go build -o read-batch read-batch.go
# gir/glib-2.0
/home/travis/gopath/src/gir/glib-2.0/glib.go:166: cannot convert 
(*(*[999999]*C.uint8_t)(unsafe.Pointer(ret1)))[i0] (type *C.uint8_t) to type 
uint8
/home/travis/gopath/src/gir/glib-2.0/glib.go:166: cannot use 
uint8((*(*[999999]*C.uint8_t)(unsafe.Pointer(ret1)))[i0]) (type uint8) as type 
*uint8 in assignment
make: *** [read-batch] Error 2
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to