1 Answer
- Newest
- Most votes
- Most comments
0
I was able to replicate this issue in Athena V2. regexp_count is one of the functions for which support was added in V3. Please change your Athena version to V3 using these instructions - https://docs.aws.amazon.com/athena/latest/ug/engine-versions-changing.html
When I change it back to V3, I was able to execute the below query.
SELECT regexp_count('1a 2b 14m', '\s*[a-z]+\s*');
Please let me know if you have any questions.
answered a year ago
Relevant content
- Accepted Answerasked 9 months ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago