move column calculation into cassinatra api