[ 
https://issues.apache.org/jira/browse/BEAM-4651?focusedWorklogId=116488&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-116488
 ]

ASF GitHub Bot logged work on BEAM-4651:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Jun/18 16:48
            Start Date: 27/Jun/18 16:48
    Worklog Time Spent: 10m 
      Work Description: kennknowles opened a new pull request #5786: 
[BEAM-4651] Add bundle-ready SQL shell using application plugin
URL: https://github.com/apache/beam/pull/5786
 
 
   This is a self-contained custom build for the SQL shell. Example build and 
use:
   
   ```
   $ ./gradlew -p sdks/java/extensions/sql/shell 
-Pbeam.sql.shell.bundled=':beam-runners-google-cloud-dataflow-java,:beam-runners-flink_2.11,:beam-sdks-java-io-kafka,:beam-sdks-java-io-google-cloud-platform'
 installDist
   
   $ 
./sdks/java/extensions/sql/shell/build/install/beam-sdks-java-extensions-sql-shell/bin/beam-sdks-java-extensions-sql-shell
   
   Welcome to Beam SQL 2.6.0-SNAPSHOT (based on sqlline version 1.3.0)
   0: BeamSQL>
   ```
   
   You can also use `distZip` and `distTar` to just build the bundle for 
whatever uses you desire. I inspected the zip to confirm the expected stuff was 
in it. I also tried it out with Pubsub and got to a bug that I am currently 
diagnosing (and this will help me do it faster).
   
   ------------------------
   
   Follow this checklist to help us incorporate your contribution quickly and 
easily:
   
    - [x] Format the pull request title like `[BEAM-XXX] Fixes bug in 
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA 
issue, if applicable. This will automatically link the pull request to the 
issue.
    - [x] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   R: @apilloud 
   
   Post-Commit Tests Status (on master branch)
   
------------------------------------------------------------------------------------------------
   
   Lang | SDK | Apex | Dataflow | Flink | Gearpump | Spark
   --- | --- | --- | --- | --- | --- | ---
   Go | [![Build 
Status](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/)
 | --- | --- | --- | --- | ---
   Java | [![Build 
Status](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/)
 | [![Build 
Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/)
 | [![Build 
Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/)
 | [![Build 
Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/)
 | [![Build 
Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/)
 | [![Build 
Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/)
   Python | [![Build 
Status](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/)
 | --- | [![Build 
Status](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)
 </br> [![Build 
Status](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/)
 | --- | --- | ---
   
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 116488)
            Time Spent: 10m
    Remaining Estimate: 0h

> Bundled Beam SQL shell build
> ----------------------------
>
>                 Key: BEAM-4651
>                 URL: https://issues.apache.org/jira/browse/BEAM-4651
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We don't have a brilliant way to distribute or launch using just downloaded 
> jars, but it is useful anyhow to be able to quickly build a self-contained 
> SQL shell. The Gradle application plugin does this really well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to