late-dentist-52023
04/18/2023, 7:16 PMfunction concat(character varying, "unknown", character varying) does not exist
this is in redshift
The issue appears to be this clause:
REGEXP_REPLACE(
MIN(
CONCAT(
cast(e.timestamp as varchar),
'____',
coalesce(cast(e.dimension as varchar), '__NULL_DIMENSION')
)
),
'.*____',
''
) as dimension,
I believe the '____'
also needs to be wrapped in a cast() function
Self-hosting: Build: f58a91e (2023-03-31)future-teacher-7046
late-dentist-52023
04/18/2023, 7:19 PMfuture-teacher-7046
late-dentist-52023
04/18/2023, 7:21 PM