bryanck commented on code in PR #8303:
URL: https://github.com/apache/iceberg/pull/8303#discussion_r1293821359


##########
azure-bundle/build.gradle:
##########
@@ -0,0 +1,50 @@
+/*
+ * 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.
+ */
+
+project(":iceberg-azure-bundle") {
+
+  apply plugin: 'com.github.johnrengelman.shadow'
+
+  tasks.jar.dependsOn tasks.shadowJar
+
+  dependencies {
+    implementation platform(libs.azuresdk.bom)
+    implementation "com.azure:azure-storage-file-datalake"
+    implementation "com.azure:azure-identity"

Review Comment:
   The `azure-bundle` project build was set up for bundling all of the 
necessary Azure dependencies in one shadow jar as an (optional) convenience to 
users, similar to the `aws-bundle` and `gcp-bundle` projects, which include 
only the necessary runtime libraries at the same version used for the Iceberg 
build and shades conflicting libraries. A user can opt to include their own 
Azure dependencies if desired and not use this at all. For example, all you 
would need to run with Spark is the Spark runtime and Azure/AWS/GCP bundle. 
Neither Microsoft nor Google provide such a bundle. Amazon has one for AWS but 
it is very large, which causes issues with some systems.
   
   This is separate from the `azure` project build which declares the Azure 
dependencies as `compileOnly` so they are not included with any runtime.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to