kartikeypant opened a new pull request, #25053:
URL: https://github.com/apache/flink/pull/25053

   ## What is the purpose of the change
   * The purpose of this change is to enhance the Flink Table API and SQL by 
introducing new bitwise functions: `shiftleft` and `shiftright`. These will 
also improve compatibility with Hive since Hive also provides the functions 
with the same names. 
   * These functions will allow users to perform bitwise left shift and right 
shift operations directly within their SQL queries and Table API expressions.  
   * This change is associated to the following Jira Feature: [FLINK-12450
   ](https://issues.apache.org/jira/projects/FLINK/issues/FLINK-12450)
   
   
   ## Brief change log
   * Adds classes 
`org.apache.flink.table.runtime.functions.scalar.BitRightShiftFunction` and 
`org.apache.flink.table.runtime.functions.scalar.BitRightShiftFunction`.
   * Modifies `org.apache.flink.table.functions.BuiltInFunctionDefinitions` to 
add shiftleft and shiftright functions.
   * Modifies `org.apache.flink.table.api.internal.BaseExpressions` to add 
shiftleft and shiftright functions.
   
   ## Verifying this change
   * Added relevant tests for the functions to test the functional correctness 
in class `MathFunctionsITCase`.
   
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): no
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: yes
     - The serializers: no
     - The runtime per-record code paths (performance sensitive): no
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
     - The S3 file system connector: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? yes
     - If yes, how is the feature documented? will complete documentation 
before raising for review
   


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

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to