Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/18488#discussion_r132983668
--- Diff:
sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/ExpressionInfo.java
---
@@ -79,7 +79,7 @@ public ExpressionInfo(
assert name != null;
assert arguments != null;
assert examples != null;
- assert examples.isEmpty() || examples.startsWith("\n
Examples:");
+ assert examples.isEmpty() ||
examples.startsWith(System.lineSeparator() + " Examples:");
--- End diff --
I don't think we support Windows for dev. This assertion should probably be
weakened anyway but that's a separate issue from this PR.
---
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]