-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-17963][SQL][Documentation] Add examples (extend) in each expression and improve documentation with arguments #15513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
5f70b1d
77abafa
8cd6d80
2614572
29d0262
710c68e
1d44ec3
78b1fc7
e2062af
e9672db
9baa847
fff85f6
2462775
10892fb
45e7f99
1d69e40
9b24e78
ed1c839
1535186
8efee7e
a111d2a
a8ddcc2
99b5658
a29472e
73ccda0
d927bff
91d2ab5
7841860
01eecfe
1979d92
d56ac66
8a773d4
f71e39e
caa71c8
5163a87
f8d11aa
da40f85
feafdc2
2656c62
15c02ca
035baef
c55ecb6
ad7b71d
3965d00
498d69c
400cee5
2b437fe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,8 +30,8 @@ import org.apache.spark.sql.types._ | |
| usage = "expr1 _FUNC_ expr2 - Bitwise AND.", | ||
| extended = """ | ||
| Arguments: | ||
| expr1 - a integral numeric expression. | ||
| expr2 - a integral numeric expression. | ||
| expr1 - an integral numeric expression. | ||
|
||
| expr2 - an integral numeric expression. | ||
|
|
||
| Examples: | ||
| > SELECT 3 _FUNC_ 5; | ||
|
|
@@ -66,8 +66,8 @@ case class BitwiseAnd(left: Expression, right: Expression) extends BinaryArithme | |
| usage = "expr1 _FUNC_ expr2 - Bitwise OR.", | ||
| extended = """ | ||
| Arguments: | ||
| expr1 - a integral numeric expression. | ||
| expr2 - a integral numeric expression. | ||
| expr1 - an integral numeric expression. | ||
| expr2 - an integral numeric expression. | ||
|
|
||
| Examples: | ||
| > SELECT 3 _FUNC_ 5; | ||
|
|
@@ -102,8 +102,8 @@ case class BitwiseOr(left: Expression, right: Expression) extends BinaryArithmet | |
| usage = "expr1 _FUNC_ expr2 - Bitwise exclusive OR.", | ||
| extended = """ | ||
| Arguments: | ||
| expr1 - a integral numeric expression. | ||
| expr2 - a integral numeric expression. | ||
| expr1 - an integral numeric expression. | ||
| expr2 - an integral numeric expression. | ||
|
|
||
| Examples: | ||
| > SELECT 3 _FUNC_ 5; | ||
|
|
@@ -136,7 +136,7 @@ case class BitwiseXor(left: Expression, right: Expression) extends BinaryArithme | |
| usage = "_FUNC_ expr - Bitwise NOT.", | ||
| extended = """ | ||
| Arguments: | ||
| expr - a integral numeric expression. | ||
| expr - an integral numeric expression. | ||
|
|
||
| Examples: | ||
| > SELECT _FUNC_ 0; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returns the result of bitwise AND of expr1 and expr2.