Details
Description
To make hive more intuitive, can we provide a syntax for hive functions that when encompassing a regex, that regex doesn't have to the standard hive double escape? For example
column rlike '
d
d{1,3}
\\.
d
d{1,3}
'
could become
column rlike '/\d
\.\d
{1,3}\.\d{1,3}/'
In this case, just using PERL's regex brackets, but could be anything...
The point is to be able to take a standard JAVA/Perl type regex and cut and paste it into a query. This would allow for faster query development, more mainstream adoption by those with regex experience, and intuitive transition to hive query writing.