apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.3k stars 1.17k forks source link

[Bug] [linkis-engineplugin-spark] Old scripts with dataframe-save-as-excel feature will fail because wrong package header #1727

Closed Alexkun closed 2 years ago

Alexkun commented 2 years ago

Search before asking

Linkis Component

linkis-cg-engineConnplugin

What happened + What you expected to happen

When I save dataframe to excel, it will fail in version after linkis release-1.0.3-rc1.

Relevent platform

CentOS7

Reproduction script

df.write.format("com.webank.wedatasphere.spark.excel").option("sheetName", "sheet1").option("useHeader", "true").option("dateFormat", "yy-mmm-d").mode("overwrite").save("file:///mnt/bdap/hadoop/test.xlsx")

Anything else

No response

Are you willing to submit a PR?

Alexkun commented 2 years ago

fixed.