You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Xu Mingmin (JIRA)" <ji...@apache.org> on 2017/04/23 00:17:04 UTC

[jira] [Assigned] (BEAM-2010) expose programming interface

     [ https://issues.apache.org/jira/browse/BEAM-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xu Mingmin reassigned BEAM-2010:
--------------------------------

    Assignee:     (was: Xu Mingmin)

> expose programming interface
> ----------------------------
>
>                 Key: BEAM-2010
>                 URL: https://issues.apache.org/jira/browse/BEAM-2010
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql
>            Reporter: Xu Mingmin
>
> Expose programming interfaces to use BeamSQL. With these APIs, developers can inject SQL in their code, to help create a pipeline from SQL statements. A proposed use case looks like:
> {code}
> BeamSQLEnvironment sqlEnv = BeamSQLEnvironment.create(options);
> sqlEnv.addAsSource(BeamSqlTable table);
> //...
> sqlEnv.addAsSink(BeamSqlTable table);
> //...
> Pipeline pipeline = sqlEnv.explainPipeline(String sqlStatement);
> pipeline.run().waitUntilFinish();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)