Unable to get value 'BigNumber(16)' from database resultset, index 0
需要用 cast
对字段进行转换,将bigint
转换成string
。
SELECT
cast(id as string)
, cast(is_deleted as boolean) -- 若无报错,则无需转换数据类型
, createtime
, company_name
, cast(last_modified_time as string)
FROM hive.t_test
limit 1000