- Apache Presto Tutorial
- Apache Presto - Home
- Apache Presto - Overview
- Apache Presto - Architecture
- Apache Presto - Installation
- Apache Presto - Configuration
- Apache Presto - Administration
- Apache Presto - SQL Operations
- Apache Presto - SQL Functions
- Apache Presto - MySQL Connector
- Apache Presto - JMX Connector
- Apache Presto - HIVE Connector
- Apache Presto - KAFKA Connector
- Apache Presto - JDBC Interface
- Custom Function Application
- Apache Presto Useful Resources
- Apache Presto - Quick Guide
- Apache Presto - Useful Resources
- Apache Presto - Discussion
regexp_like(string, pattern)
Query 1
presto:default> SELECT regexp_like('1a 2b 3c 6f', '\d+c') as expression;
Result
expression ------------ true
Here, the digit 3 has character c, hence the result is true.
Query 2
presto:default> SELECT regexp_like('1a 2b 3c 6f', '\d+e') as expression;
Result
expression ------------ false
Here, the character e is not in the regular expression.
apache_presto_sql_functions.htm
Advertisements