-
Notifications
You must be signed in to change notification settings - Fork 590
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
BUG: Fix handling of Array types in Postgres UDF #2015
Conversation
Other scalar types can be represented either by the class or an instance, but Array types work differently. Array types must be an instance, because the Array class must be instantiated specifying the datatype of the elements of the array. This was causing an error in the translation.
|
hey @scottcode sorry for the delay .. I will review that today after lunch |
|
thanks @scottcode for fixing this issue. |
|
note that we should be doing release notes on the patches themselves |
|
currently ibis is using https://github.com/ibis-project/ibis/blob/master/dev/genrelease.py to create automatically the release notes. I don't know much about this script but maybe @cpcloud could give us an idea and we can add that to the documentation. |
|
sympy has a nice bot for release notes https://github.com/sympy/sympy-bot .. not sure if it could be integrated easily to ibis current workflow |
|
-1 on using bots or scripts for this the notes should be in the patch PR it’s way more readable and ultimately causes much less work |
|
I don't mind to use one or the other approach. I think the most important thing is to document the approach that should be used and make it clear for anyone during the PR phase .. maybe using a github PR template. |
|
but as I commented .. the current approach is the script. |
@jreback Assuming we go this route, what should I do? Edit the message of the pull request? If so, could you point me to a good example to emulate? Thanks for any pointers. Writing better pull request messages or other documentation sounds like a good idea regardless. |
|
like this: https://github.com/ibis-project/ibis/pull/2009/files this is by far the easiest way to go as it packages the PR and the release note in a single commit on merge. its also community reviewed. |
|
@jreback Thanks for pointing me to a good example of adding to the release notes. I'll follow that with my future pull requests. |
|
if we will following this way .. maybe we need to take care about the previous PR merged .. maybe run for the last time the release script to update the release notes ... and update the documentation https://docs.ibis-project.org/contributing.html#releasing ... also maybe a PR template to guide the contributor to create the release notes. |
|
@xmnlab For this current issue, should I create another PR adding to the release notes? Just let me know and I can do that. |
|
@scottcode if you want to do it, go ahead :) |
Inspired by conversation in ibis-project#2015 and ibis-project#2021
Inspired by conversation in ibis-project#2015 and ibis-project#2021
Other scalar types can be represented either by the class or an instance, but Array types work differently. Array types must be an instance, because the Array class must be instantiated specifying the datatype of the elements of the array. This was causing an error in the translation.