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

Added Mysql text datatype support as a string #383

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Alvalunasan
Copy link
Contributor

A quick fix just to add text datatype as support

When this is not added I get the following error:

bdatatest_schema = dj.Schema(dj.conn, 'bdatatest', 'bdatatest')
Error using dj.internal.Declare.matchType (line 430)
UnsupportedType: Attribute type 'text' is not a valid type.

@dimitri-yatsenko
Copy link
Member

Thanks, @Alvalunasan. What is the reason for adding the text datatype? Are there cases where varchar or longblob are insufficient? We need to be careful with adding support for new types because their distinct usecases must be well explained and documented and support added across both languages: MATLAB and Python.

@Alvalunasan
Copy link
Contributor Author

Hi @dimitri-yatsenko thanks for the response.
Basically, we need to fetch with DJ an already existing DB that was created with text (and mediumtext) fields.

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

Successfully merging this pull request may close these issues.

2 participants