You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by suez1224 <gi...@git.apache.org> on 2018/05/30 06:42:10 UTC

[GitHub] flink pull request #6100: [FLINK-9430][Table API & SQL] add cast rule in SQL...

GitHub user suez1224 opened a pull request:

    https://github.com/apache/flink/pull/6100

    [FLINK-9430][Table API & SQL] add cast rule in SQL to cast Object to other assignable types

    
    ## What is the purpose of the change
    
    Add cast rule in SQL to cast Object to other assignable types.
    
    
    ## Brief change log
    
      - Add Cast rule to handle casting from Object.
      - Add unittests.
    
    
    ## Verifying this change
    
    This change added tests and can be verified as follows:
      - Added unittest to test casting from Object to other basic type.
    
    ## 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)`: (yno)
      - 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? ( no)
      - If yes, how is the feature documented? (not applicable)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/suez1224/flink object-cast

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/6100.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6100
    
----
commit 6d1d4ba8e956fd4f17a6dddc4613530f6fe343fa
Author: Shuyi Chen <sh...@...>
Date:   2018-05-24T05:39:15Z

    add cast support in SQL to cast GenericTypeInfo to other types

----


---