Skip to content

Commit

Permalink
add notes to compatibility guide
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed May 24, 2024
1 parent b2c9688 commit 93daf41
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/source/user-guide/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ be used in production.

There is an [epic](https://github.com/apache/datafusion-comet/issues/313) where we are tracking the work to fully implement ANSI support.

## Regular Expressions

Comet uses the [regex](https://crates.io/crates/regex) crate to evaluate regular expressions, and it is expected that
this will produce different results to Java's regular expression engine in some cases. It also lacks support for
features such as backreferences. For these reasons, regular expression support is disabled by default and can be
enabled by setting `spark.comet.regexp.allowIncompatible=true`.

## Cast

Cast operations in Comet fall into three levels of support:
Expand Down
7 changes: 7 additions & 0 deletions docs/templates/compatibility-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ be used in production.

There is an [epic](https://github.com/apache/datafusion-comet/issues/313) where we are tracking the work to fully implement ANSI support.

## Regular Expressions

Comet uses the [regex](https://crates.io/crates/regex) crate to evaluate regular expressions, and it is expected that
this will produce different results to Java's regular expression engine in some cases. It also lacks support for
features such as backreferences. For these reasons, regular expression support is disabled by default and can be
enabled by setting `spark.comet.regexp.allowIncompatible=true`.

## Cast

Cast operations in Comet fall into three levels of support:
Expand Down

0 comments on commit 93daf41

Please sign in to comment.