beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2010) expose programming interface
Date Mon, 05 Jun 2017 23:37:12 GMT

    [ 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)

Mime
View raw message