-
Notifications
You must be signed in to change notification settings - Fork 37
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
Result return, Instance of UndecodedBytes for ENUM attributes on DB #276
Comments
@enzo-desimone: if you have a reproduction case (either a single SELECT or a CREATE/INSERT/SELECT), I can look into how hard is to add better support. |
Thanks for response @isoos Query execute
Print result |
@enzo-desimone: I don't have information about your |
@isoos, here you are: PORTFOLIO TABLE
ITEM_CATEGORY ENUM
|
@enzo-desimone: this is a custom type, and we don't have typed support for it yet. However, I've created a test to provide an example on how you can access the string content of the unknown bytes: |
@isoos I have read your workaround. I am just wondering when result.first.toColumnMap() will support enum, meaning the custom enum varables being represented as the strings instead of Instance of 'UndecodedBytes'. Wondering if I should bother doing the work around or if i should just wait, Thanks in advance |
@ember11498 for the time being I'd suggest to use the workaround |
@isoos I just wrote an extension on Result that works prety well.
|
When a query is launched, what is returned for the enumeration attributes in the database is
Instance of 'UndecodedBytes'
.The text was updated successfully, but these errors were encountered: