determine type information for columns 
