Github user jodersky commented on the issue:

    https://github.com/apache/spark/pull/15513
  
    I agree with that the extended part is usually multiple lines, my 
observation is that an newline will be inserted *before* any text, since the 
string starts the line following `extended="""`. Just wanted to make sure this 
is intended.
    
    Regrading the `stripMargin`: unfortunately `stripMargin` is a method on a 
string wrapper, hence is not a constant and cannot be used in annotation 
arguments. I ran into this myself in #15398.
    A workaround I could imagine is to call `stripMargin` here 
https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala#L498
 


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to