[SPARK-34933][DOC][SQL] Remove the description that || and && can be used as logical operators from the document
### What changes were proposed in this pull request? This PR removes the description that `||` and `&&` can be used as logical operators from the migration guide. ### Why are the changes needed? At the `Compatibility with Apache Hive` section in the migration guide, it describes that `||` and `&&` can be used as logical operators. But, in fact, they cannot be used as described. AFAIK, Hive also doesn't support `&&` and `||` as logical operators. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? I confirmed that `&&` and `||` cannot be used as logical operators with both Hive's interactive shell and `spark-sql`. I also built the modified document and confirmed that the modified document doesn't break layout. Closes #32023 from sarutak/modify-hive-compatibility-doc. Authored-by: Kousuke Saruta <sarutak@oss.nttdata.com> Signed-off-by: Sean Owen <srowen@gmail.com>
This commit is contained in:
parent
f99a831dab
commit
8724f2b8b7
|
@ -925,7 +925,7 @@ Spark SQL supports the vast majority of Hive features, such as:
|
||||||
* All Hive operators, including:
|
* All Hive operators, including:
|
||||||
* Relational operators (`=`, `<=>`, `==`, `<>`, `<`, `>`, `>=`, `<=`, etc)
|
* Relational operators (`=`, `<=>`, `==`, `<>`, `<`, `>`, `>=`, `<=`, etc)
|
||||||
* Arithmetic operators (`+`, `-`, `*`, `/`, `%`, etc)
|
* Arithmetic operators (`+`, `-`, `*`, `/`, `%`, etc)
|
||||||
* Logical operators (`AND`, `&&`, `OR`, `||`, etc)
|
* Logical operators (`AND`, `OR`, etc)
|
||||||
* Complex type constructors
|
* Complex type constructors
|
||||||
* Mathematical functions (`sign`, `ln`, `cos`, etc)
|
* Mathematical functions (`sign`, `ln`, `cos`, etc)
|
||||||
* String functions (`instr`, `length`, `printf`, etc)
|
* String functions (`instr`, `length`, `printf`, etc)
|
||||||
|
|
Loading…
Reference in a new issue