func NA(input interface{}) interface{} {
	invalid := ""

	switch v := input.(type) {
	case bigquery.NullInt64:
		if !v.Valid {
			return invalid
		}
	case bigquery.NullFloat64:
		if !v.Valid {
			return invalid
		}
	case bigquery.NullString:
		if !v.Valid {
			return invalid
		}
	case bigquery.NullDate:
		if !v.Valid {
			return invalid
		}
	case bigquery.NullBool:
		if !v.Valid {
			return invalid
		}
	}

	return input
}
// NA emits an empty string instead of "NULL" since this plays better with
// BigQuery
NA emits an empty string instead of "NULL" since this plays better with
BigQuery
// NA emits an empty string instead of " NULL " since this plays better with // BigQuery
func NA(input interface{}) interface{} {
	invalid := ""
	switch v := input.(type) {
	case bigquery.NullInt64:
		if !v.Valid {
			return invalid
		}
	case bigquery.NullFloat64:
		if !v.Valid {
			return invalid
		}
	case bigquery.NullString:
		if !v.Valid {
			return invalid
		}
	case bigquery.NullDate:
		if !v.Valid {
			return invalid
		}
	case bigquery.NullBool:
		if !v.Valid {
			return invalid
		}
	}
	return input
}
func NA ( input interface { } ) interface { } { invalid := " " switch v := input . ( type ) { case bigquery . NullInt64 : if ! v . Valid { return invalid } case bigquery . NullFloat64 : if ! v . Valid { return invalid } case bigquery . NullString : if ! v . Valid { return invalid } case bigquery . NullDate : if ! v . Valid { return invalid } case bigquery . NullBool : if ! v . Valid { return invalid } } return input }
NA emits an empty string instead of "NULL" since this plays better with
BigQuery
NA emits an empty string instead of " NULL " since this plays better with BigQuery