Sample Header Ad - 728x90

How to pass multiple values into hive hql for the same hivevar

1 vote
0 answers
113 views
Requirement : My Hql has below script in which I want to pass values into the where clause dynamically. How do I dynamically pass using hivevar in below specific scenario where multiple values are expected. Or how do I invoke the hql with hivevar defined for (‘a’,’c’) Create table newtbl As select * from temptbl where id IN (‘a’, ‘c’)
Asked by RaCh (11 rep)
Dec 21, 2023, 12:38 AM