spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <>
Subject [jira] [Commented] (SPARK-9213) Improve regular expression performance (via joni)
Date Thu, 13 Aug 2015 09:32:46 GMT


Reynold Xin commented on SPARK-9213:

Are there any semantic differences between the two?

> Improve regular expression performance (via joni)
> -------------------------------------------------
>                 Key: SPARK-9213
>                 URL:
>             Project: Spark
>          Issue Type: Umbrella
>          Components: SQL
>            Reporter: Reynold Xin
> I'm creating an umbrella ticket to improve regular expression performance for string
expressions. Right now our use of regular expressions is inefficient for two reasons:
> 1. Java regex in general is slow.
> 2. We have to convert everything from UTF8 encoded bytes into Java String, and then run
regex on it, and then convert it back.
> There are libraries in Java that provide regex support directly on UTF8 encoded bytes.
One prominent example is joni, used in JRuby.
> Note: all regex functions are in

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message