dongjoon-hyun commented on a change in pull request #25924: 
[SPARK-29237][SQL][DOC] Avoid usage of function names in expression examples
URL: https://github.com/apache/spark/pull/25924#discussion_r328085049
 
 

 ##########
 File path: 
sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/ExpressionInfo.java
 ##########
 @@ -56,6 +56,8 @@ public String getArguments() {
         return arguments;
     }
 
+    public String getOriginalExamples() { return examples; }
 
 Review comment:
   +1 for @srowen 's opinion.
   
   @MaxGekk . Shall we use the following format in the test case?
   ```scala
   val examplesField = classOf[ExpressionInfo].getDeclaredField("examples")
   examplesField.setAccessible(true)
   val examples = examplesField.get(e).asInstanceOf[String]
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to