Re: Weird error in a generated thrift file

2018-06-14 Thread Sanchay Javeria
Could it have something to do with a change in some other thrift file? I added a new field in hive_metastore.thrift under the Table struct. In my knowledge, it never touches TBinaryColumn.java, I also compared the TCLIService.thrift and TBinaryColumn.java with the prod code and it looks exactly

Re: Weird error in a generated thrift file

2018-06-14 Thread Sanchay Javeria
Hey Alan, I'm running Thrift 0.9.3 On Thu, Jun 14, 2018 at 12:26 PM, Alan Gates wrote: > What version of thrift do you have? > > Alan. > > On Thu, Jun 14, 2018 at 11:48 AM Sanchay Javeria > wrote: > > > Hi, > > > > I'm seeing a weird error in TBinaryColumn.java on line 383 inside the > >

Re: Weird error in a generated thrift file

2018-06-14 Thread Alan Gates
What version of thrift do you have? Alan. On Thu, Jun 14, 2018 at 11:48 AM Sanchay Javeria wrote: > Hi, > > I'm seeing a weird error in TBinaryColumn.java on line 383 inside the > toString() method. There is a call being made to > org.apache.thrift.TBaseHelper.toString(this.values, sb).

Weird error in a generated thrift file

2018-06-14 Thread Sanchay Javeria
Hi, I'm seeing a weird error in TBinaryColumn.java on line 383 inside the toString() method. There is a call being made to org.apache.thrift.TBaseHelper.toString(this.values, sb). Looking into this method tells that TBaseHelper.toString() assumes ByteBuffer as the first argument whereas