Fix numeric to number.

This commit is contained in:
Brian Cao 2023-07-06 21:02:56 -07:00
parent 8e6620db53
commit 0a3ee2277a
8 changed files with 40 additions and 40 deletions

View file

@ -81,7 +81,7 @@ async function clickhouseQuery(data: {
a.dynamicDataType === DATA_TYPE.array
? a.value
: null,
numeric_value: a.dynamicDataType === DATA_TYPE.number ? a.value : null,
number_value: a.dynamicDataType === DATA_TYPE.number ? a.value : null,
date_value: a.dynamicDataType === DATA_TYPE.date ? getDateFormat(a.value) : null,
data_type: a.dynamicDataType,
created_at: createdAt,