[IMP] data refactoring, like google bigquery