dolthub / dolthub/dolt

md5 function does not recognize `binary` keyword

Closed
#8,785 1 comment 0 reactions 1 assignee Claimed by @zachmu View on GitHub
bug correctness
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 8h
Merged PRs (30d)
120

Description

Steps to reproduce:

```
# create a random binary file
head -c 100 myfile
dolt sql -q "select md5(binary load_file('./myfile'));"
```

Expected output: the md5 hash of the file
Actual output: `invalid string for charset utf8mb4: '[bytes]'`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.