LuciferYang commented on PR #39712:
URL: https://github.com/apache/spark/pull/39712#issuecomment-1406193858

   I suggest changing this UT into a tool. Maybe it can also be placed under 
the `tools` module, and then checked with a script, such as `dev/mima`, 
possible steps are as follows:
   
   1. find the classpath of the new tool as `dev/mima`
   2. run `sbt/package` and find the path of `connect-client.jar` and `sql.jar` 
   2. pass the path of `connect-client.jar` and `sql.jar` to the new tool for 
compatibility check
   
   The content of the new tool is similar to this test. If the check fails, 
print the failed result and exit with a non-0?
   
   The new script can be added to GA's lint task and automatically automatically
   
   Of course, users can also execute it locally. The whole process can be 
encapsulated by the new script, there is no need to tell developers to execute 
`sbt/package` before check.


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