sparse csvs to sql