Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
hbase-0.94.3
thrift-0.9.1
go version go1.1.2 linux/amd64
ubuntu 3.5.0-23-generic
Description
command:
./bin/thrift -gen go ./hbase/hbase-thrift/src/main/resources/org/apache/hadoop/hbase/thrift2/hbase.thrift
complile error:
src/hbase/ttypes.go:1103: invalid map key type []byte
src/hbase/ttypes.go:1267: invalid map key type []byte
src/hbase/ttypes.go:1495: invalid map key type []byte
src/hbase/ttypes.go:1616: invalid map key type []byte
src/hbase/ttypes.go:1812: invalid map key type []byte
src/hbase/ttypes.go:1947: invalid map key type []byte
src/hbase/ttypes.go:2133: invalid map key type []byte
src/hbase/ttypes.go:2237: invalid map key type []byte
src/hbase/ttypes.go:2412: invalid map key type []byte
src/hbase/ttypes.go:2697: invalid map key type []byte
src/hbase/ttypes.go:2237: too many errors
Attachments
Issue Links
- duplicates
-
THRIFT-2063 Go compiler cannot create code for maps with complex/binary keys
- Open
- is duplicated by
-
THRIFT-2384 Binary map keys produce uncompilable code in go
- Closed