Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2378

service method arguments of binary type lead to uncompileable Go code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • Go - Compiler
    • hbase-0.94.3
      thrift-0.9.1
      go version go1.1.2 linux/amd64
      ubuntu 3.5.0-23-generic

    • Patch Available

    Description

      go build hbase/t_h_base_service-remote

      1. hbase/t_h_base_service-remote
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:202: containerStruct1.ReadField2 undefined (type *hbase.GetMultipleArgs has no field or method ReadField2)
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:271: cannot use value1 (type string) as type []byte in function argument
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:271: cannot use value2 (type string) as type []byte in function argument
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:271: cannot use value3 (type string) as type []byte in function argument
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:271: cannot use value4 (type string) as type []byte in function argument
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:292: containerStruct1.ReadField2 undefined (type *hbase.PutMultipleArgs has no field or method ReadField2)
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:347: containerStruct1.ReadField2 undefined (type *hbase.DeleteMultipleArgs has no field or method ReadField2)
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:389: cannot use value1 (type string) as type []byte in function argument
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:389: cannot use value2 (type string) as type []byte in function argument
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:389: cannot use value3 (type string) as type []byte in function argument
        src/hbase/t_h_base_service-remote/t_h_base_service-remote.go:389: too many errors

      Attachments

        Activity

          People

            jensg Jens Geyer
            hua zhang sherlockhua
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: