543202718 opened a new pull request, #9610:
URL: https://github.com/apache/iotdb/pull/9610

   The size of UDF-Library jar is about **94MB**, which is extremely and 
surprisingly large. Since too many useless dependencies are included in the jar 
package, it is inconvenient for users to use such a large package. With the 
following optimizations, the size is reduced to only **19MB**.
   
   + Remove unused dependencies, e.g., **iotdb-session**, **jama**, 
**java-local-outlier-factor**, **gson**, **iotdb-server**.
   + Replace the remaining 
*org.apache.iotdb.tsfile.file.metadata.enums.TSDataType* to 
*org.apache.iotdb.udf.api.type.Type*. Meanwhile, 
*org.apache.iotdb.commons.udf.utils.UDFDataTypeTransformer* is also removed. 
Thus, dependency **tsfile** is removed and **node-commons** is changed to much 
smaller **udf-api**.


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