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
Refs #28643 -- Added MD5 database function. #11004
Conversation
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.
Yay. Thanks for this. Nice Oracle-fu too.
Please can you add a test for the NULL
case? This is particularly important for the SQLite bit. (I realise that we still need to add these NULL
tests for some of the other functions.)
f8e9ac8
to
209e542
Compare
@charettes @pope1ni Thanks for reviews 👍 . I updated PR. |
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.
Looks good to me.
209e542
to
3d0499b
Compare
@@ -10,8 +10,9 @@ | |||
Mod, Pi, Power, Radians, Round, Sin, Sqrt, Tan, | |||
) | |||
from .text import ( | |||
Chr, Concat, ConcatPair, Left, Length, Lower, LPad, LTrim, Ord, Repeat, | |||
Replace, Reverse, Right, RPad, RTrim, StrIndex, Substr, Trim, Upper, | |||
MD5, Chr, Concat, ConcatPair, Left, Length, Lower, LPad, LTrim, Ord, |
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.
I don't know why isort sorts M before C. Is there a special rule for names in all caps?
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.
isort
treats MD5
as a constant and sorts imports for CONSTANTS, Classes, and modules/functions (see order_by_type
setting).
Thanks Tim Graham, Nick Pope and Simon Charette for reviews.
3d0499b
to
0382a3b
Compare
Ticket 28643.