Given a query, select * from ...
(that might be part of CTAS statement)
The goal is to add an additional column, ID
, where ID
is a
Check this solution from Manoj Kumar: https://github.com/manojkumarvohra/hive-hilo
Usage:
FunctionName( sequenceName, lowvalue[optional], seedvalue[optional])