Skip to content
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

[Docs]Batch04 - Bitwise numeric functions #16805

Merged
merged 7 commits into from
Jul 30, 2024

Conversation

edgar2020
Copy link
Contributor

Description

Add examples to the sql-functions.md page.

Updates the BITWISE_AND, BITWISE_COMPLEMENT, BITWISE_CONVERT_DOUBLE_TO_LONG_BITS, BITWISE_CONVERT_LONG_BITS_TO_DOUBLE, BITWISE_OR, BITWISE_SHIFT_LEFT, BITWISE_SHIFT_RIGHT, and BITWISE_XOR.

This PR has:

  • been self-reviewed.

@edgar2020 edgar2020 marked this pull request as ready for review July 26, 2024 18:30
Copy link
Contributor

@techdocsmith techdocsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job. minor suggestions mainly about using a colon (:) notation instead of repeating "that is" every time.

@@ -336,68 +336,189 @@ Performs a bitwise XOR operation on all input values.

## BITWISE_AND

`BITWISE_AND(expr1, expr2)`
Returns the bitwise AND between two expressions, that is, `expr1 & expr2`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Returns the bitwise AND between two expressions, that is, `expr1 & expr2`.
Returns the bitwise AND between two expressions: `expr1 & expr2`.

I don't think we need the "that is" in these descriptions. Just the code following a colon is fine.

Copy link
Contributor Author

@edgar2020 edgar2020 Jul 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

applied it manually, as well as to all other instances

docs/querying/sql-functions.md Show resolved Hide resolved
docs/querying/sql-functions.md Show resolved Hide resolved
Copy link
Contributor

@techdocsmith techdocsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@techdocsmith techdocsmith merged commit 85a8a1d into apache:master Jul 30, 2024
8 checks passed
sreemanamala pushed a commit to sreemanamala/druid that referenced this pull request Aug 6, 2024
* Batch04 - Bitwise numeric functions

* Batch04 - Bitwise numeric functions

* minor fixes

* rewording bitwise_shift functions

* rewording bitwise_shift functions

* Update docs/querying/sql-functions.md

* applying suggestions

---------

Co-authored-by: Benedict Jin <[email protected]>
@kfaraz kfaraz added this to the 31.0.0 milestone Oct 4, 2024
vtlim pushed a commit to vtlim/druid that referenced this pull request Oct 8, 2024
* Batch04 - Bitwise numeric functions

* Batch04 - Bitwise numeric functions

* minor fixes

* rewording bitwise_shift functions

* rewording bitwise_shift functions

* Update docs/querying/sql-functions.md

* applying suggestions

---------

Co-authored-by: Benedict Jin <[email protected]>
(cherry picked from commit 85a8a1d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants