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

Adding SHA3 extension to the built library #1146

Open
jamietanna opened this issue Mar 26, 2023 · 0 comments
Open

Adding SHA3 extension to the built library #1146

jamietanna opened this issue Mar 26, 2023 · 0 comments

Comments

@jamietanna
Copy link

When trying to run a query such as:

-- name: AnonymiseOrgAndRepo :exec
update renovate
set
  organisation  = 'ANON-' || hex(sha3(organisation)),
  repo          = 'ANON-' || hex(sha3(repo))
where
  organisation
    NOT LIKE 'ANON-%'
  OR
  repo
    NOT LIKE 'ANON-%'
;

This results in

Error: no such function: sha3

Looking at a similar discussion in the SQLite forum, this is an extension that I appear to have enabled in my sqlite3 binary but that may not be enabled by default here.

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

No branches or pull requests

1 participant