You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/06/12 05:14:05 UTC

[GitHub] [flink] bowenli86 opened a new pull request #8700: [FLINK-12657][hive] Integrate Flink with Hive UDF

bowenli86 opened a new pull request #8700: [FLINK-12657][hive] Integrate Flink with Hive UDF
URL: https://github.com/apache/flink/pull/8700
 
 
   ## What is the purpose of the change
   
   This PR integrates Flink with Hive UDF.
   
   Background: given that integrating Flink with Hive functions has some hard dependencies on function definitions and type system rework part II and is currently blocked by these dependencies, we decide to take an eager approach by merging Hive functions related code into Flink first, and then adapt to any dependencies when they are done. This way, we are more confident with the timing, and minimize our risk of not being able to make it to 1.9 release.
   
   ## Brief change log
   
   - introduced `HiveFunction` as a temp workaround to get input/output arg types
   - added `HiveFunctionWrapper` as wrapper of Hive functions
   - developed `HiveSimpleUDF` to hook Hive UDF with Flink
   - added `HiveInspector` for data inspection and conversions
   - added unit tests for `HiveSimpleUDF` using a few real Hive UDFs
   
   Note that the data conversion currently only covers a few basic types. Conversions of more typed data will be added later on.
   
   ## Verifying this change
   
   This change added tests and can be verified as follows:
   
   - added `HiveSimpleUDFTest`
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes)
     - The serializers:(yes)
     - The runtime per-record code paths (performance sensitive): (yes)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)
     - The S3 file system connector: (yes)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes)
     - If yes, how is the feature documented? (docs)
   
   Doc will be added later

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services