This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 42a6557172c [MINOR][SQL][DOCS] Remove JDK 8 related information in the 
comemnts for aes_encrypt and aes_decrypt
42a6557172c is described below

commit 42a6557172cd5c7cfcd049ff95a9ad1bc8fdeaa5
Author: Hyukjin Kwon <gurwls...@apache.org>
AuthorDate: Mon Sep 25 10:25:29 2023 -0700

    [MINOR][SQL][DOCS] Remove JDK 8 related information in the comemnts for 
aes_encrypt and aes_decrypt
    
    ### What changes were proposed in this pull request?
    
    This PR proposes to fix the comments in both `aes_encrypt` and 
`aes_decrypt`. Did a quick check for Scala/Python/R API, and seems like this is 
the only place to fix.
    
    ### Why are the changes needed?
    
    We dropped JDK 8 at SPARK-44112
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, it's Scaladoc, and the doc is not user-facing.
    
    ### How was this patch tested?
    
    Build in this CI should check them.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #43091 from HyukjinKwon/minor-doc-AesEncrypt.
    
    Authored-by: Hyukjin Kwon <gurwls...@apache.org>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 .../main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala   | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala
 
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala
index 92ed0843521..6a7f841c324 100644
--- 
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala
+++ 
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala
@@ -304,8 +304,6 @@ case class CurrentUser() extends LeafExpression with 
Unevaluable {
 
 /**
  * A function that encrypts input using AES. Key lengths of 128, 192 or 256 
bits can be used.
- * For versions prior to JDK 8u161, 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.
  */
@@ -388,8 +386,6 @@ case class AesEncrypt(
 
 /**
  * A function that decrypts input using AES. Key lengths of 128, 192 or 256 
bits can be used.
- * For versions prior to JDK 8u161, 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.
  */


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

Reply via email to