You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2017/06/13 15:39:00 UTC

[jira] [Created] (BEAM-2445) DSL SQL to use service locator pattern to automatically register UDFs

Luke Cwik created BEAM-2445:
-------------------------------

             Summary: DSL SQL to use service locator pattern to automatically register UDFs
                 Key: BEAM-2445
                 URL: https://issues.apache.org/jira/browse/BEAM-2445
             Project: Beam
          Issue Type: Improvement
          Components: dsl-sql
            Reporter: Luke Cwik
            Assignee: Xu Mingmin
            Priority: Minor


Use a service locator pattern to find UDFs that can be registered. The service loader can be used to register UDFs for standard functions via DSL SQL, additional UDFs registered by third party libraries, and end user created UDFs.

Example ServiceLoader usage within Apache Beam to find coder providers:
https://github.com/apache/beam/blob/7126fdc6ee5671e99a2dede3f25ba616aa0e8fa4/sdks/java/core/src/main/java/org/apache/beam/sdk/coders/CoderRegistry.java#L147



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)