mbutrovich commented on code in PR #4991:
URL: https://github.com/apache/datafusion-comet/pull/4991#discussion_r3631213270


##########
.github/actions/java-test/action.yaml:
##########
@@ -50,6 +50,18 @@ runs:
         cd native
         cargo build --release
 
+    # Evaluate hashFiles now, on the clean checkout, and reuse the result in 
the
+    # cache key below. The cache step's inputs are re-evaluated when its post
+    # (cache-save) phase runs, and by then the test run has left trees under 
the
+    # workspace (e.g. the Hive-catalog warehouse from 
CometIcebergEncryptionSuite)
+    # that make a fresh '**/pom.xml' walk throw "Fail to hash files under
+    # directory". A precomputed string keeps the save phase from re-walking 
them.

Review Comment:
   I also added some cleanup logic for the Hive-catalog, but just in case I'm 
also addressing the footgun here.



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