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(examples): add hashbytes example #10537

Merged
merged 3 commits into from
Nov 30, 2024

Conversation

IndexSeek
Copy link
Member

@IndexSeek IndexSeek commented Nov 26, 2024

Description of changes

Adds non-auto computed documentation example for hashbytes.

Edit: removed previous addition of MD2 and MD4 hashing algorithms and reverted that commit.

Also adds support for MD2 and MD4 hashing algorithms for Microsoft SQL Server's HASHBYTES function.

Technically, quoting from the docs:

> Beginning with SQL Server 2016 (13.x), all algorithms other than SHA2_256, and SHA2_512 are deprecated.

Not sure if it's worth including this portion of the change or not.

@github-actions github-actions bot added the sql Backends that generate SQL label Nov 26, 2024
Copy link
Member

@gforsyth gforsyth left a comment

Choose a reason for hiding this comment

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

Thanks @IndexSeek !

My inclination is to leave md2 and md4 without explicit support unless a user requests that functionality. I don't want our inclusion of those options to read as tacit support for using them.

@IndexSeek IndexSeek changed the title feat(mssql): add md2 and md4 hashbytes algos docs(examples): add hashbytes example Nov 30, 2024
@IndexSeek
Copy link
Member Author

IndexSeek commented Nov 30, 2024

Thanks @IndexSeek !

My inclination is to leave md2 and md4 without explicit support unless a user requests that functionality. I don't want our inclusion of those options to read as tacit support for using them.

You're welcome! That makes sense to me; I reverted that commit, so now it's just the hashbytes example.

@gforsyth gforsyth merged commit 0b99e47 into ibis-project:main Nov 30, 2024
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sql Backends that generate SQL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants