I want to create the effect of a cross apply in AWS EMR Hive. I've got a little sample code here that runs in SQL Server 2017.
with r as (
select 1 as d
union all
select 2 as d
)
select * from r
cross apply (select 'f' as u) e;
How can I run the equivalent of this in EMR Hive?
I've checked out the Lateral View documentation, but it all references explode, and I don't have an array.