Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10527#discussion_r51175633
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala
 ---
    @@ -453,3 +455,131 @@ case class Murmur3Hash(children: Seq[Expression], 
seed: Int) extends Expression
         }
       }
     }
    +
    +/**
    + * A function that encrypts input using AES. Key lengths of 128, 192 or 
256 bits can be used.
    + * 192 and 256 bits keys can be used if Java Cryptography Extension (JCE) 
Unlimited Strength
    + * Jurisdiction Policy Files are installed. If either argument is NULL or 
the key length is
    + * not one of the permitted values, the return value is NULL.
    + */
    +@ExpressionDescription(
    +  usage =
    +    """_FUNC_(input, key) - Encrypts input using AES. Key lengths of 128, 
192 or 256 bits can
    + be used. 192 and 256 bits keys can be used if Java Cryptography Extension 
(JCE) Unlimited Strength
    + Jurisdiction Policy Files are installed. If either argument is NULL or 
the key length is not one
    + of the permitted values, the return value is NULL.""",
    +  extended = """> SELECT Base64(_FUNC_('ABC', '1234567890123456'));
    --- End diff --
    
    we should follow the style of other classes in this file, i.e. use double 
quotation marks and `\n`


---
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