Skip to content

Commit 8eebcf6

Browse files
authored
feat: add dependencies in build.gradle for parquet source and python udfs (#167)
1 parent 274820d commit 8eebcf6

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

dagger-common/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,17 @@ dependencies {
5959
compileOnly group: 'org.apache.flink', name: 'flink-table-api-java-bridge_2.11', version: flinkVersion
6060
compileOnly group: 'org.apache.flink', name: 'flink-connector-kafka_2.11', version: flinkVersion
6161

62+
dependenciesCommonJar ('org.apache.hadoop:hadoop-client:2.8.3') {
63+
exclude module:"commons-cli"
64+
exclude module:"commons-compress"
65+
}
66+
dependenciesCommonJar 'com.google.cloud.bigdataoss:gcs-connector:1.9.0-hadoop2'
6267
dependenciesCommonJar 'org.apache.flink:flink-metrics-dropwizard:' + flinkVersion
6368
dependenciesCommonJar 'org.apache.flink:flink-json:' + flinkVersion
6469
dependenciesCommonJar 'com.jayway.jsonpath:json-path:2.4.0'
6570
dependenciesCommonJar 'io.odpf:stencil:0.2.1'
6671
dependenciesCommonJar 'com.google.code.gson:gson:2.8.2'
72+
dependenciesCommonJar 'org.apache.parquet:parquet-column:1.12.2'
6773

6874
testImplementation 'junit:junit:4.13'
6975
testImplementation 'org.jmockit:jmockit:1.25'

dagger-core/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def flinkVersion = rootProject.flinkVersion
2626
version = rootProject.file('version.txt').text.trim()
2727

2828
def minimalVersion = version
29-
def dependenciesVersion = '0.2.1'
29+
def dependenciesVersion = '0.2.2'
3030

3131
description = """dagger to the heart!"""
3232

@@ -84,6 +84,7 @@ dependencies {
8484
dependenciesJar 'org.asynchttpclient:async-http-client:2.10.1'
8585
dependenciesJar 'io.vertx:vertx-pg-client:3.9.0'
8686
dependenciesJar 'org.apache.commons:commons-pool2:2.4.3'
87+
dependenciesJar 'org.apache.parquet:parquet-protobuf:1.12.2'
8788

8889
testImplementation project(':dagger-common').sourceSets.test.output
8990
testImplementation 'junit:junit:4.13'
@@ -177,6 +178,7 @@ task minimalJar(type: ShadowJar) {
177178
from sourceSets.main.output
178179
configurations = [project.configurations.minimalJar]
179180
archiveVersion = minimalVersion
181+
exclude("core-site.xml")
180182
}
181183

182184
task dependenciesJar(type: ShadowJar) {

dagger-functions/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ sourceSets {
4444
}
4545

4646
dependencies {
47+
compileOnly 'org.projectlombok:lombok:1.18.8'
48+
annotationProcessor 'org.projectlombok:lombok:1.18.8'
4749
compileOnly project(path: ':dagger-common', configuration: 'minimalCommonJar')
4850
compileOnly project(path: ':dagger-common', configuration: 'dependenciesCommonJar')
4951
compileOnly 'org.apache.flink:flink-streaming-java_2.11:' + flinkVersion
@@ -56,6 +58,7 @@ dependencies {
5658
compileOnly group: 'org.apache.flink', name: 'flink-metrics-dropwizard', version: flinkVersion
5759

5860
dependenciesFunctionsJar 'com.github.davidmoten:geo:0.7.6'
61+
dependenciesFunctionsJar 'org.apache.flink:flink-python_2.11:' + flinkVersion
5962
dependenciesFunctionsJar group: 'org.apache.commons', name: 'commons-jexl3', version: '3.1'
6063
dependenciesFunctionsJar group: 'org.isuper', name: 's2-geometry-library-java', version: '0.0.1'
6164
dependenciesFunctionsJar group: 'com.google.cloud', name: 'google-cloud-storage', version: '1.67.0'

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.8
1+
0.2.9

0 commit comments

Comments
 (0)