You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by al...@apache.org on 2022/03/04 06:36:33 UTC
[incubator-linkis] 06/13: Solve excel download naming problem
This is an automated email from the ASF dual-hosted git repository.
alexkun pushed a commit to branch dev-1.1.1
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
commit 029c4ea797045f4a131582a2f640203539e85b98
Author: HmhWz <93...@qq.com>
AuthorDate: Thu Mar 3 16:17:06 2022 +0800
Solve excel download naming problem
---
.../linkis/manager/engineplugin/pipeline/executor/ExcelExecutor.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linkis-engineconn-plugins/engineconn-plugins/pipeline/src/main/scala/org/apache/linkis/manager/engineplugin/pipeline/executor/ExcelExecutor.scala b/linkis-engineconn-plugins/engineconn-plugins/pipeline/src/main/scala/org/apache/linkis/manager/engineplugin/pipeline/executor/ExcelExecutor.scala
index 680043f..eb5f8c7 100644
--- a/linkis-engineconn-plugins/engineconn-plugins/pipeline/src/main/scala/org/apache/linkis/manager/engineplugin/pipeline/executor/ExcelExecutor.scala
+++ b/linkis-engineconn-plugins/engineconn-plugins/pipeline/src/main/scala/org/apache/linkis/manager/engineplugin/pipeline/executor/ExcelExecutor.scala
@@ -36,7 +36,7 @@ class ExcelExecutor extends PipeLineExecutor {
var fileSource: FileSource = null
var excelFsWriter: ExcelFsWriter = null
val sourceFsPath = new FsPath(sourcePath)
- val destFsPath = new FsPath(s"$destPath.xlsx")
+ val destFsPath = new FsPath(destPath)
val sourceFs = FSFactory.getFs(sourceFsPath)
sourceFs.init(null)
val destFs = FSFactory.getFs(destFsPath)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org