You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by xumingming <gi...@git.apache.org> on 2017/06/14 15:51:00 UTC

[GitHub] beam pull request #3357: [BEAM-2442] BeamSql api surface test

GitHub user xumingming opened a pull request:

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

    [BEAM-2442] BeamSql api surface test

    Summary:
    
    * The surface api of BeamSql includes the following:
      * BeamSql
      * BeamSqlCli
      * BeamSqlEnv
      * All the classes in package `org.apache.beam.dsls.sql.schema`
    * Now `BeamSql` and `BeamSqlCli` both extends from `BeamSqlEnv` to avoid expose `SchemaPlus` and `BeamQueryPlanner`.
    * Calcite realted methods are encapsulated into `CalciteUtils`(which is not part of surface api) to avoid exposure.
    * Created a new `BeamSqlTable` which abstracts the beam `table` concept.
    * `RelDataType`, `RelProtoDataType` are all removed from surface api, `BeamSqlRecordType` is the only class which represents the schema of a table.
      * java.sql.Types is used to represent sql type instead of Calcite `SqlTypeName`.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xumingming/beam BEAM-2442-api-surface-test

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/3357.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3357
    
----
commit 507e0451584d20bd7d2fe59a5ee410cc8959f5d8
Author: James Xu <xu...@gmail.com>
Date:   2017-06-14T15:47:10Z

    [BEAM-2442] BeamSql surface api test.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] beam pull request #3357: [BEAM-2442] BeamSql api surface test

Posted by xumingming <gi...@git.apache.org>.
Github user xumingming closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---