update bigquery sql type

This commit is contained in:
Bobby
2021-04-30 15:11:53 +10:00
parent b26e8e2e60
commit 6b2151fd1c

View File

@@ -105,9 +105,6 @@ const transformToSQLValue = (value: any, ftType: string) => {
case "AGGREGATE":
case "MULTI_SELECT": // array
// SQL type: STRING
if (!value.length) {
return `null`;
}
return `"${sanitise(JSON.stringify(value))}"`;
case "CHECK_BOX":
// SQL type: BOOLEAN