refactoring of RecordReader
add some column join
add auto join