This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new a4382fe [MINOR][SQL][DOCS] Correct typo in sql migration guide
a4382fe is described below
commit a4382fe8c87dd909833a01fbd1a02b681886157a
Author: Diego Luis <[email protected]>
AuthorDate: Mon Nov 1 10:01:33 2021 +0900
[MINOR][SQL][DOCS] Correct typo in sql migration guide
### What changes were proposed in this pull request?
Just correct a minor typo in the migration guide. Change from `Double.Nan`
to `Double.NaN`
### Why are the changes needed?
The correct `NaN` representation for `Double` is `Double.NaN`
### Does this PR introduce _any_ user-facing change?
Yes, it corrects a typo in the migration guide.
### How was this patch tested?
Docs change only.
Closes #34452 from dieggoluis/spark-3-migration-guide-docs.
Authored-by: Diego Luis <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
docs/sql-migration-guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/sql-migration-guide.md b/docs/sql-migration-guide.md
index d968803..ea2c9e9c 100644
--- a/docs/sql-migration-guide.md
+++ b/docs/sql-migration-guide.md
@@ -270,7 +270,7 @@ license: |
| CAST('+inf' AS FLOAT) | NULL | Float.PositiveInfinity |
| CAST('-infinity' AS FLOAT) | NULL | Float.NegativeInfinity |
| CAST('-inf' AS FLOAT) | NULL | Float.NegativeInfinity |
- | CAST('nan' AS DOUBLE) | NULL | Double.Nan |
+ | CAST('nan' AS DOUBLE) | NULL | Double.NaN |
| CAST('nan' AS FLOAT) | NULL | Float.NaN |
- In Spark 3.0, when casting interval values to string type, there is no
"interval" prefix, for example, `1 days 2 hours`. In Spark version 2.4 and
below, the string contains the "interval" prefix like `interval 1 days 2 hours`.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]