Skip to content

[CALCITE-6224] Add LOG2 function (enabled in Mysql, Spark library) #3689

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

Closed
wants to merge 1 commit into from

Conversation

caicancai
Copy link
Member

@caicancai caicancai commented Feb 15, 2024

@caicancai
Copy link
Member Author

Regarding the case where the parameter is 0, it will be fixed in another jira
discussion: https://issues.apache.org/jira/browse/CALCITE-6259

@caicancai caicancai closed this Feb 16, 2024
@caicancai caicancai reopened this Feb 19, 2024
@caicancai
Copy link
Member Author

caicancai commented Feb 19, 2024

@mihaibudiu @tanclary I added a function to log2 inside Sqlfunctions. I am very sorry that I have not thought of a better solution, if you have, please let me know, I would appreciate it

@caicancai caicancai requested a review from mihaibudiu February 19, 2024 13:05
@caicancai
Copy link
Member Author

@caicancai caicancai force-pushed the 6224 branch 2 times, most recently from 0e04e4f to e4a5c21 Compare February 23, 2024 16:26
@caicancai
Copy link
Member Author

@tanclary Thank you very much, let's wait for the cli

@tanclary
Copy link
Contributor

I think when you get a review, you should try to make sure you didn't make the same mistakes in other places in the PR. If you fix them all at once it will save you and the reviewer time. Especially when your reviewers are in different time zones, it will help reduce the time it takes to merge the commit.

@caicancai
Copy link
Member Author

I think when you get a review, you should try to make sure you didn't make the same mistakes in other places in the PR. If you fix them all at once it will save you and the reviewer time. Especially when your reviewers are in different time zones, it will help reduce the time it takes to merge the commit.

Maybe what you said makes sense, but the commits that were merged before were written in a similar way. I learned from their writing methods. I don't understand why the previous PR can be merged if I modified it. I don't mean any harm, I just don't understand

@tanclary
Copy link
Contributor

tanclary commented Feb 27, 2024

I think when you get a review, you should try to make sure you didn't make the same mistakes in other places in the PR. If you fix them all at once it will save you and the reviewer time. Especially when your reviewers are in different time zones, it will help reduce the time it takes to merge the commit.

Maybe what you said makes sense, but the commits that were merged before were written in a similar way. I learned from their writing methods. I don't understand why the previous PR can be merged if I modified it. I don't mean any harm, I just don't understand

I mean that I've noticed you make the same mistakes multiple times, even after they have been pointed out by a reviewer. You can avoid this by checking over the PR and making sure you fix all instances of a mistake so it saves everyone time. Does that make sense?

@caicancai caicancai closed this Feb 27, 2024
@caicancai
Copy link
Member Author

caicancai commented Feb 27, 2024

I think when you get a review, you should try to make sure you didn't make the same mistakes in other places in the PR. If you fix them all at once it will save you and the reviewer time. Especially when your reviewers are in different time zones, it will help reduce the time it takes to merge the commit.

Maybe what you said makes sense, but the commits that were merged before were written in a similar way. I learned from their writing methods. I don't understand why the previous PR can be merged if I modified it. I don't mean any harm, I just don't understand

I mean that I've noticed you make the same mistakes multiple times, even after they have been pointed out by a reviewer. You can avoid this by checking over the PR and making sure you fix all instances of a mistake so it saves everyone time. Does that make sense?

My question, sorry

@caicancai caicancai reopened this Feb 27, 2024
Copy link

@caicancai caicancai closed this Feb 27, 2024
@caicancai caicancai deleted the 6224 branch February 29, 2024 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants