You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/05 23:37:12 UTC

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

    [ https://issues.apache.org/jira/browse/BEAM-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037848#comment-16037848 ] 

ASF GitHub Bot commented on BEAM-2010:
--------------------------------------

Github user XuMingmin closed the pull request at:

    https://github.com/apache/beam/pull/3250


> 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
>            Assignee: 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)