Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select val, count(1)
- from test_table lateral view explode(array(col1,col2,col3,col4)) t as val
- where val is not null
- group by val
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement