add functions: append query result into a bigquery table