gh-yzou commented on code in PR #1830:
URL: https://github.com/apache/polaris/pull/1830#discussion_r2134237171


##########
plugins/spark/v3.5/spark/build.gradle.kts:
##########
@@ -151,13 +151,16 @@ tasks.register("checkNoDisallowedImports") {
 tasks.named("check") { dependsOn("checkNoDisallowedImports") }
 
 tasks.register<ShadowJar>("createPolarisSparkJar") {
-  archiveClassifier = null
-  archiveBaseName =
-    
"polaris-iceberg-${icebergVersion}-spark-runtime-${sparkMajorVersion}_${scalaVersion}"
+  archiveClassifier = "bundle"

Review Comment:
   ```
   We need to release a new version for this plugin every time we update the 
embedded Iceberg version.
   ```
   I don't think we need to release a new version for this plugin every time 
update the embedded Iceberg version. i only need to release a new version every 
time we do a release, whatever iceberg version shipped during the release, it 
will be the version, right? However, if we we have it in the project name, then 
the project name has to be updated every time the iceberg version is updated, 
which I don't think it is a good idea, which can be very frequently.
   
   I tried couple of ways to retain the original jar name, so far didn't find a 
good way yet, we can continue investigating. However, i hope in long term, we 
don't have to ship iceberg runtime in the bundle, and I think we should 
definitely have a doc/webpage somewhere to doc the compatible iceberg version 
regardless whether it is in the name or not. 



-- 
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]

Reply via email to