adspace


What is the difference between like and rlike operators in hive?

Answer Posted / Neeraj Mishra

The LIKE operator in Hive performs pattern matching on the left side of the comparison. It uses a wildcard character '%' for partial matches and '_' for exact single character matches. On the other hand, the RLIKE operator is case-insensitive regular expression matching, which allows more complex pattern matching using regex.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of tables available in Hive?

767


What is the stable version of Hive ?

2696


Can We Change settings within Hive Session? If Yes, How?

859


When to choose "External Table" in Hive?

867


What is a Hive variable? What for we use it?

881


Where does the data of a Hive table gets stored?

750


When we are using queries instead of scripting?

801


When to use explode in Hive?

832


How can I delete the above index named index_bonuspay?

807


How to skip header rows from a table in Hive?

907