You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2022/05/30 02:47:05 UTC
[incubator-linkis] branch dev-1.1.3 updated: [issue-2187] upgrade poi and excel-streaming-reader (#2188)
This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch dev-1.1.3
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.1.3 by this push:
new bc4024a06 [issue-2187] upgrade poi and excel-streaming-reader (#2188)
bc4024a06 is described below
commit bc4024a06822b3a4b48927ed8775d815b4cbb596
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Mon May 30 03:46:59 2022 +0100
[issue-2187] upgrade poi and excel-streaming-reader (#2188)
---
LICENSE-binary | 6 +++---
linkis-commons/linkis-storage/pom.xml | 2 +-
.../main/java/org/apache/linkis/storage/excel/XlsxUtils.java | 2 --
tool/dependencies/known-dependencies.txt | 10 +++++-----
4 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/LICENSE-binary b/LICENSE-binary
index 9cab08f69..7f0f5e6a7 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -284,7 +284,7 @@ See licenses-binary/ for text of these licenses.
(Apache License, Version 2.0) Apache Log4j JUL Adapter (org.apache.logging.log4j:log4j-jul:2.17.1 - https://logging.apache.org/log4j/2.x/log4j-jul/)
(Apache License, Version 2.0) Apache Log4j SLF4J Binding (org.apache.logging.log4j:log4j-slf4j-impl:2.17.1 - https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/)
(Apache License, Version 2.0) Apache Log4j Web (org.apache.logging.log4j:log4j-web:2.6.2 - http://logging.apache.org/log4j/2.x/log4j-web/)
- (Apache License, Version 2.0) Apache POI (org.apache.poi:poi-ooxml-lite:5.2.1 - http://poi.apache.org/)
+ (Apache License, Version 2.0) Apache POI (org.apache.poi:poi-ooxml-lite:5.2.2 - http://poi.apache.org/)
(Apache License, Version 2.0) Apache Velocity (org.apache.velocity:velocity:1.5 - http://velocity.apache.org/engine/releases/velocity-1.5/)
(Apache License, Version 2.0) ApacheDS I18n (org.apache.directory.server:apacheds-i18n:2.0.0-M15 - http://directory.apache.org/apacheds/1.5/apacheds-i18n)
(Apache License, Version 2.0) ApacheDS Protocol Kerberos Codec (org.apache.directory.server:apacheds-kerberos-codec:2.0.0-M15 - http://directory.apache.org/apacheds/1.5/apacheds-kerberos-codec)
@@ -408,7 +408,7 @@ See licenses-binary/ for text of these licenses.
(Apache License, Version 2.0) Spring Web MVC (org.springframework:spring-webmvc:5.2.2.RELEASE - https://github.com/spring-projects/spring-framework)
(Apache License, Version 2.0) Spring WebFlux (org.springframework:spring-webflux:5.2.2.RELEASE - https://github.com/spring-projects/spring-framework)
(Apache License, Version 2.0) StAX API (stax:stax-api:1.0.1 - http://stax.codehaus.org/)
- (Apache License, Version 2.0) Streaming Excel reader (com.github.pjfanning:excel-streaming-reader:3.6.0 - https://github.com/pjfanning/excel-streaming-reader)
+ (Apache License, Version 2.0) Streaming Excel reader (com.github.pjfanning:excel-streaming-reader:4.0.1 - https://github.com/pjfanning/excel-streaming-reader)
(Apache License, Version 2.0) Woodstox (com.fasterxml.woodstox:woodstox-core:5.2.1 - https://github.com/FasterXML/woodstox)
(Apache License, Version 2.0) XML Commons Resolver Component (xml-resolver:xml-resolver:1.2 - http://xml.apache.org/commons/components/resolver/)
(Apache License, Version 2.0) Xerces2 Java (com.rackspace.apache:xerces2-xsd11:2.11.1 - http://xerces.apache.org/xerces2-j/)
@@ -496,7 +496,7 @@ See licenses-binary/ for text of these licenses.
(Apache License, version 2.0) chill-java (com.twitter:chill-java:0.7.6 - https://github.com/twitter/chill)
(Apache License, version 2.0) chill_2.11 (com.twitter:chill_2.11:0.7.6 - https://github.com/twitter/chill)
(Apache License, version 2.0) druid (com.alibaba:druid:1.1.22 - https://github.com/alibaba/druid)
- (Apache License, version 2.0) excel-streaming-reader (com.github.pjfanning:excel-streaming-reader:3.6.0 - https://github.com/pjfanning/excel-streaming-reader)
+ (Apache License, version 2.0) excel-streaming-reader (com.github.pjfanning:excel-streaming-reader:4.0.1 - https://github.com/pjfanning/excel-streaming-reader)
(Apache License, version 2.0) failureaccess (com.google.guava:failureaccess:1.0.1)
(Apache License, version 2.0) flink-connector-base (org.apache.flink:flink-connector-base:1.12.2 - https://flink.apache.org/)
(Apache License, version 2.0) flink-connector-files (org.apache.flink:flink-connector-files:1.12.2 - https://flink.apache.org/)
diff --git a/linkis-commons/linkis-storage/pom.xml b/linkis-commons/linkis-storage/pom.xml
index 9720f4b35..34230fa74 100644
--- a/linkis-commons/linkis-storage/pom.xml
+++ b/linkis-commons/linkis-storage/pom.xml
@@ -78,7 +78,7 @@
<dependency>
<groupId>com.github.pjfanning</groupId>
<artifactId>excel-streaming-reader</artifactId>
- <version>3.6.0</version>
+ <version>4.0.1</version>
</dependency>
</dependencies>
diff --git a/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/excel/XlsxUtils.java b/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/excel/XlsxUtils.java
index 8c8ab6d5c..0f6ea7702 100644
--- a/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/excel/XlsxUtils.java
+++ b/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/excel/XlsxUtils.java
@@ -42,14 +42,12 @@ public class XlsxUtils {
StreamingReader.builder()
.rowCacheSize(
2) // number of rows to keep in memory (defaults to 10)
- .setUseSstReadOnly(true)
.open(inputStream);
} else {
wb =
StreamingReader.builder()
.rowCacheSize(
2) // number of rows to keep in memory (defaults to 10)
- .setUseSstReadOnly(true)
.open(file);
}
List<String> sheetNames = new ArrayList<>();
diff --git a/tool/dependencies/known-dependencies.txt b/tool/dependencies/known-dependencies.txt
index 63bd07b71..23375e976 100644
--- a/tool/dependencies/known-dependencies.txt
+++ b/tool/dependencies/known-dependencies.txt
@@ -104,7 +104,7 @@ error_prone_annotations-2.4.0.jar
eureka-client-1.10.14.jar
eureka-core-1.10.14.jar
evictor-1.0.0.jar
-excel-streaming-reader-3.6.0.jar
+excel-streaming-reader-4.0.1.jar
failureaccess-1.0.1.jar
fastutil-6.5.6.jar
feign-core-10.12.jar
@@ -393,10 +393,10 @@ pagehelper-5.1.4.jar
paranamer-2.3.jar
paranamer-2.8.jar
parquet-hadoop-bundle-1.8.1.jar
-poi-5.2.1.jar
-poi-ooxml-5.2.1.jar
-poi-ooxml-lite-5.2.1.jar
-poi-shared-strings-2.5.1.jar
+poi-5.2.2.jar
+poi-ooxml-5.2.2.jar
+poi-ooxml-lite-5.2.2.jar
+poi-shared-strings-2.5.3.jar
presto-client-1.5.0.jar
protobuf-java-3.14.0.jar
protobuf-java-3.15.8.jar
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org