fixed bug where csv column name would be used in place of sql column
name in query.

Change-Id: I1e6f6b86d5361c187c075cab05b2811a03777126