Throw exception when DataType is neither INTEGER nor TEXT.

Added test for the same with column populate.