Github user srowen commented on the issue:
https://github.com/apache/spark/pull/16652
I imagine there's a better way to do this without copying code. Do you mean
the common test code assumes 0 labels are permitted? then maybe it should just
not do that, because it's just using any old value to test.
If it doesn't actually assume 0 labels are permitted, then its logic should
still work. It's just that this test would need some additional logic to verify
that 0 labels cause an exception.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]