Fix the alter table add partition can not store bug.
Merge branch 'macan' into test, fix bugs.
Merge remote-tracking branch 'origin/zjw' into test, fix bugs.
Fix the NULL pointer return value for Thrift.
Merge remote-tracking branch 'origin/zjw' into macan, fix add_partition bug.
Fix the restoreFID bug and getSFileLocaiton NULL pointer bug.
Merge from zjw branch for bug fixes.
add heter view
merge test

Merge remote-tracking branch 'origin/test' into zjw
merge test