Github user iyerr3 commented on the pull request:
https://github.com/apache/incubator-madlib/commit/777b73c6c2505aa987cb3f2ffc21bafeacab02b0#commitcomment-17997261
In src/ports/postgres/modules/utilities/pivot.py_in:
In src/ports/postgres/modules/utilities/pivot.py_in on line 112:
IMO we don't need to raise this as a warning if we're eventually re-raising
the exception. We could replace the exception with our specific message:
```
...
except plpy.spiexceptions.ProgramLimitExceeded as inst:
inst.args = ("The number of distinct values in the pivoting column
is greater than the maximum allowed number of target lists", )
raise(inst)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---