php-thrift-sql
php-thrift-sql copied to clipboard
supprt Hive's table schema
trafficstars
In fact, I have made a big refactor to ThriftSQL ( https://github.com/wxiaoguang/php-thrift-sql )
The major problem is that the Iterator design pattern is not quite good.
My changes:
- clean all prefix underline in property/method names.
- code re-format
- re-design the Query / Iterator pattern
- more clear exception mechanism
- disallow re-run an executed query
- remove QueryCleaner. (the user should take care about the statement, not the framework)
If you feel that the refactor is OK, I can polish it and submit P-R again.
If the refactor may cause problem with the official one, I can submit separated patches.