beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Cwik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-2445) DSL SQL to use service locator pattern to automatically register UDFs
Date Tue, 13 Jun 2017 15:39:00 GMT
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)

Mime
View raw message