From 6f022387e27f1d639c6069be4b70063508bffe3c Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Wed, 5 Jun 2024 09:17:30 -0600 Subject: [PATCH] more notes --- docs/source/user-guide/expressions.md | 42 +++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/source/user-guide/expressions.md b/docs/source/user-guide/expressions.md index d9e2d89d8..a1df47146 100644 --- a/docs/source/user-guide/expressions.md +++ b/docs/source/user-guide/expressions.md @@ -53,7 +53,7 @@ The following Spark expressions are currently available. Any known compatibility ## String Functions | Expression | Notes | -| ---------------------- |------------------------------------------------------------------| +| ---------------------- | ---------------------------------------------------------------- | | Substring | | | StringSpace | | | Like | | @@ -89,26 +89,26 @@ The following Spark expressions are currently available. Any known compatibility ## Math Expressions -| Expression | Notes | -| ---------- | ----- | -| Abs | | -| Acos | | -| Asin | | -| Atan | | -| Atan2 | | -| Cos | | -| Exp | | -| Ln | | -| Log10 | | -| Log2 | | -| Pow | | -| Round | | -| Signum | | -| Sin | | -| Sqrt | | -| Tan | | -| Ceil | | -| Floor | | +| Expression | Notes | +| ---------- | ------------------------------------------------------------------- | +| Abs | | +| Acos | | +| Asin | | +| Atan | | +| Atan2 | | +| Cos | | +| Exp | | +| Log | log(0) will produce `-Infinity` unlike Spark which returns `null` | +| Log2 | log2(0) will produce `-Infinity` unlike Spark which returns `null` | +| Log10 | log10(0) will produce `-Infinity` unlike Spark which returns `null` | +| Pow | | +| Round | | +| Signum | Signum does not differentiate between `0.0` and `-0.0` | +| Sin | | +| Sqrt | | +| Tan | | +| Ceil | | +| Floor | | ## Hashing Functions