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
[Error] Failed to compile the query script: Schemas of streams in union should match exactly. Column 'aa.bb' from left side has incompatible type 'bit' vs 'bit' from right side..
The text was updated successfully, but these errors were encountered:
with
RawQuery as
(
SELECT
timestamp,
TRY_CAST(0 AS bit) as 'PLSGFSSP1DA1_Device1_Load',
TRY_CAST(1 AS bit) as 'PLSGFSSP2DA1_Device1_Load'
FROM
[telemetry]
),
DataForCompressor as
(
SELECT
timestamp,
TRY_CAST(PLSGFSSP1DA1_Device1_Load as bit) as Load
FROM [RawQuery]
UNION
SELECT
timestamp,
TRY_CAST(PLSGFSSP2DA1_Device1_Load as bit) as Load
FROM
[telemetry]
)
SELECT *
INTO [ModbusSensorStreamV2]
FROM [DataForCompressor]
Compatibility version: 1.2
[Error] Failed to compile the query script: Schemas of streams in union should match exactly. Column 'aa.bb' from left side has incompatible type 'bit' vs 'bit' from right side..
The text was updated successfully, but these errors were encountered: