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

MySQL download contains unescaped single quotes #1290

Open
dmyersturnbull opened this issue Jul 3, 2021 · 0 comments
Open

MySQL download contains unescaped single quotes #1290

dmyersturnbull opened this issue Jul 3, 2021 · 0 comments

Comments

@dmyersturnbull
Copy link

dmyersturnbull commented Jul 3, 2021

Hi,

This pertains to the ChEMBL 28 MySQL download.
It appears not to escape single quotes within strings, so it's very difficult to import.

These types of lines are problems:

''Growth inhibition of human HOP92 cells after 48 hrs by CellTiter-Blue ce' at line 1

Because ' is not escaped, source downloaded_file.sql fails.

(Also: The http server seemed to halt the download partway, leading to downloading incomplete files. I tried download with curl and wget multiple times but ended up with corrupted tar.gz files that were much to small (< 1 GB, often). I was only able to get the files via FTP using /usr/bin/ftp.)

Edit: The create table lines are fine, just escaped by ''.

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