add view method for big data scenario
add map method for table; and add test for map method