wangyum opened a new pull request #24852: [SPARK-28027][SQL] Add bitwise shift left/right operators URL: https://github.com/apache/spark/pull/24852 ## What changes were proposed in this pull request? This pr add bitwise shift left/right operators: Operator | Description | Example | Result -- | -- | -- | -- << | bitwise shift left | 1 << 4 | 16 \>\> | bitwise shift right | 8 >> 2 | 2 PostgreSQL, Vertica, Redshift and MySQL support these operators: https://www.postgresql.org/docs/11/functions-math.html https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/LanguageElements/Operators/BitwiseOperators.htm https://docs.aws.amazon.com/redshift/latest/dg/r_OPERATOR_SYMBOLS.html https://dev.mysql.com/doc/refman/5.7/en/bit-functions.html ## How was this patch tested? unit tests
---------------------------------------------------------------- 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