MaxGekk commented on a change in pull request #27221: [SPARK-30521][SQL][TESTS] 
Eliminate deprecation warnings for ExpressionInfo
URL: https://github.com/apache/spark/pull/27221#discussion_r366905233
 
 

 ##########
 File path: 
sql/core/src/test/scala/org/apache/spark/sql/SparkSessionExtensionSuite.scala
 ##########
 @@ -332,7 +332,20 @@ case class MyParser(spark: SparkSession, delegate: 
ParserInterface) extends Pars
 object MyExtensions {
 
   val myFunction = (FunctionIdentifier("myFunction"),
-    new ExpressionInfo("noClass", "myDb", "myFunction", "usage", "extended 
usage"),
+    new ExpressionInfo(
+      "noClass",
+      "myDb",
+      "myFunction",
+      "usage",
+      "extended usage",
+      "examples",
+      """
 
 Review comment:
   The string format satisfies to the conditions: 
https://github.com/apache/spark/blob/21db2f86f7c196c535e8f0b5675ae48cb2c372f7/sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/ExpressionInfo.java#L116

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to