Skip to content

Commit e1b9b2a

Browse files
committed
docs: mark spark.comet.exec.regexp.useJVM experimental and generalize wording
1 parent a943de5 commit e1b9b2a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

common/src/main/scala/org/apache/comet/CometConf.scala

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,11 @@ object CometConf extends ShimCometConf {
387387
conf("spark.comet.exec.regexp.useJVM")
388388
.category(CATEGORY_EXEC)
389389
.doc(
390-
"When true, route Spark RLike (regexp or regexp_like) through a JVM-side UDF for " +
391-
"Java-compatible regex semantics, at the cost of JNI roundtrips per batch. When " +
392-
"false, the native (Rust) regex implementation is used, which is faster but reports " +
393-
"as Incompatible because Rust regex semantics differ from Java's.")
390+
"Experimental. When true, route supported regular-expression expressions through a " +
391+
"JVM-side UDF (java.util.regex.Pattern) for Spark-compatible semantics, at the cost " +
392+
"of JNI roundtrips per batch. When false, falls back to whichever native or Spark " +
393+
"path the expression normally selects. Only RLike is routed today; additional " +
394+
"expressions may opt in over time.")
394395
.booleanConf
395396
.createWithDefault(false)
396397

0 commit comments

Comments
 (0)