[refactor] Fix some lint and tidy errors

This patch has no functional changes, it fixes some lint and
tidy errors, it's the first step to implement immutable column
feature, aiming to reduce the diff code when we review that
patch in https://gerrit.cloudera.org/c/18241/.

Change-Id: I89b0f3b9ace02f380ce1193bc1facf2aaf135096
Reviewed-on: http://gerrit.cloudera.org:8080/18724
Tested-by: Alexey Serbin <alexey@apache.org>
Reviewed-by: Alexey Serbin <alexey@apache.org>
20 files changed