You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT
r2.business_unit,
SUM(r1.total_cost) AS total_cost
FROM
project_cost_split_data r1
JOIN
cloud_account r2
ON
(r1.account = r2.name OR r1.manager = r2.name)
WHERE
r1.record_month LIKE '2024-%'
GROUP BY
r2.business_unit;
It will report error:
ERROR: clickhouse_fdw:Code: 170. DB::Exception: Bad get: has Bool, requested UInt64. (BAD_GET)
QUERY:SELECT r2.business_unit, r1.total_cost FROM observe.project_cost_split_data r1 ALL INNER JOIN observe.cloud_account r2 ON (TRUE) WHERE (((r1.account = r2.name) OR (r1.manager = r2.name))) AND ((r1.record_month LIKE '2024-%'))
The text was updated successfully, but these errors were encountered:
when execute
It will report error:
The text was updated successfully, but these errors were encountered: