Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Forward reference not supported (ThriftParserError: No type found) #338

Open
jischebeck opened this issue Aug 17, 2018 · 3 comments
Open

Comments

@jischebeck
Copy link

When parsing the thrift code for HIVE ( https://raw.githubusercontent.com/apache/hive/master/service-rpc/if/TCLIService.thrift ) the following error is thrown:

ThriftParserError: No type found: 'TProgressUpdateResp', at line 1071

The Type "struct TProgressUpdateResp" is defined several lines later at 1235.

@ethe
Copy link
Member

ethe commented Sep 26, 2018

Thriftpy parser depends definition sequence, please move the definition of TProgressUpdateResp front of TGetOperationStatusResp, it's a known defect, but Thriftpy was not supported any more, please move to thriftpy2 and it will enhance in the future.

@truebit
Copy link

truebit commented Nov 28, 2018

Could you please tell when this known defect would be fixed? This is quite annoying to load thrift files

@ethe
Copy link
Member

ethe commented Dec 9, 2018

Hi all, I tried to fix it in thriftpy2 and I have already tested thrift file be gave above, expect for your feedback, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants