You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/28 09:08:00 UTC

[jira] [Commented] (FLINK-8302) Support shift_left and shift_right in TableAPI

    [ https://issues.apache.org/jira/browse/FLINK-8302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16560671#comment-16560671 ] 

ASF GitHub Bot commented on FLINK-8302:
---------------------------------------

xueyumusic opened a new pull request #6445: [FLINK-8302][Table API & SQL] Add SHIFT_LEFT and SHIFT_RIGHT
URL: https://github.com/apache/flink/pull/6445
 
 
   ## What is the purpose of the change
   This PR is based on the previous closed and unfinished work https://github.com/apache/flink/pull/5202, it adds shift left and right as core scalar operators in then code gen.
   
   The table api syntax is 21.shiftRight(1) and 21.shiftLeft(1)
   The sql syntax is SHIFT_RIGHT(21,1)
   
   ## Brief change log
     - *FunctionCatalog, expressionDsl and SHIFT_RIGHT(21,1)*
     - *CodeGenerator*
   
   ## Verifying this change
   
   This change added tests in ScalarOperatorsTest
   
   ## 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)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, 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? (docs)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Support shift_left and shift_right in TableAPI
> ----------------------------------------------
>
>                 Key: FLINK-8302
>                 URL: https://issues.apache.org/jira/browse/FLINK-8302
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API &amp; SQL
>            Reporter: DuBin
>            Priority: Major
>              Labels: features, pull-request-available
>             Fix For: 1.6.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Add shift_left and shift_right support in TableAPI, shift_left(input, n) act as input << n, shift_right(input, n) act as input >> n.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)