[
https://issues.apache.org/jira/browse/BEAM-3773?focusedWorklogId=107193&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-107193
]
ASF GitHub Bot logged work on BEAM-3773:
----------------------------------------
Author: ASF GitHub Bot
Created on: 30/May/18 15:20
Start Date: 30/May/18 15:20
Worklog Time Spent: 10m
Work Description: lukecwik commented on a change in pull request #5506:
[BEAM-3773] Build JDBC jar
URL: https://github.com/apache/beam/pull/5506#discussion_r191810920
##########
File path: sdks/java/extensions/sql/jdbc/build.gradle
##########
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * License); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+apply from: project(":").file("build_rules.gradle")
+applyJavaNature(failOnWarning: true, enableSpotless: true, shadowClosure: {})
+
+configurations {
+ // Run tests from shaded jar
+ shadowTestRuntimeClasspath
+ integrationTest
+}
+
+dependencies {
+ compile project(path: ":beam-sdks-java-extensions-sql", configuration:
"shadow")
+ compile "jline:jline:2.14.6"
+ compile "sqlline:sqlline:1.3.0"
+ compile library.java.slf4j_jdk14
+ compileOnly library.java.findbugs_annotations
+ testCompileOnly library.java.findbugs_annotations
+ shadowTestRuntimeClasspath project(path: project.path, configuration:
"shadowTest")
+ shadowTestRuntimeClasspath project(path: project.path, configuration:
"provided")
+ integrationTest sourceSets.test.output
Review comment:
Note that you should specifically list why your using the sourceSets output
here as typically one depends on a project configuration like shadow to get the
artifacts that it produces.
----------------------------------------------------------------
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: 107193)
Time Spent: 9h 20m (was: 9h 10m)
> [SQL] Investigate JDBC interface for Beam SQL
> ---------------------------------------------
>
> Key: BEAM-3773
> URL: https://issues.apache.org/jira/browse/BEAM-3773
> Project: Beam
> Issue Type: Improvement
> Components: dsl-sql
> Reporter: Anton Kedin
> Assignee: Andrew Pilloud
> Priority: Major
> Time Spent: 9h 20m
> Remaining Estimate: 0h
>
> JDBC allows integration with a lot of third-party tools, e.g
> [Zeppelin|https://zeppelin.apache.org/docs/0.7.0/manual/interpreters.html],
> [sqlline|https://github.com/julianhyde/sqlline]. We should look into how
> feasible it is to implement a JDBC interface for Beam SQL
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)