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
A request using WITH FILL ... INTERPOLATE triggers a "Not found column" error for a column that exists. This works with 23.12. This does not work with 24.3.2. This works with 23.12.
SELECT
TimeReceived AStime,
[toString(SrcAS)] AS dimensions
FROM flows_1m0s
WHERE (TimeReceived >= toDateTime('2024-04-09 14:27:00', 'UTC')) AND (TimeReceived <= toDateTime('2024-04-09 20:27:00', 'UTC'))
GROUP BYtime,
dimensions
ORDER BYtimeASC WITH FILL FROM toDateTime('2024-04-09 14:27:00', 'UTC') TO toDateTime('2024-04-09 20:27:00', 'UTC') + toIntervalSecond(1) STEP 60
INTERPOLATE ( dimensions AS ['Other'] )
This triggers the following error:
Received exception from server (version 24.3.2):
Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column __table1.SrcAS: in block __table1.TimeReceived DateTime UInt32(size = 0), array(__table1.SrcAS) Array(UInt32) Array(size = 0, UInt64(size = 0), UInt32(size = 0)). (NOT_FOUND_COLUMN_IN_BLOCK)
Removing INTERPOLATE makes it work. Also, not using an array for dimensions also works:
SELECT
TimeReceived AStime,
toString(SrcAS) AS dimensions
FROM flows_1m0s
WHERE (TimeReceived >= toDateTime('2024-04-09 14:27:00', 'UTC')) AND (TimeReceived <= toDateTime('2024-04-09 20:27:00', 'UTC'))
GROUP BYtime,
dimensions
ORDER BYtimeASC WITH FILL FROM toDateTime('2024-04-09 14:27:00', 'UTC') TO toDateTime('2024-04-09 20:27:00', 'UTC') + toIntervalSecond(1) STEP 60
INTERPOLATE ( dimensions AS'Other' )
The text was updated successfully, but these errors were encountered:
Describe the issue
A request using
WITH FILL ... INTERPOLATE
triggers a "Not found column" error for a column that exists. This works with 23.12. This does not work with 24.3.2. This works with 23.12.How to reproduce
Using this table:
And this query:
This triggers the following error:
Removing
INTERPOLATE
makes it work. Also, not using an array fordimensions
also works:The text was updated successfully, but these errors were encountered: