linkis
linkis copied to clipboard
[Bug] resultsetToExcel interface, when the first row of downloaded data is null except the date, the data download error is reported
Search before asking
- [X] I searched the issues and found no similar issues.
Linkis Component
linkis-spring-cloud-services
Steps to reproduce
准备一张带有日期类型的表格,第一行数据除日期外,其他都为空 下载数据选择excel 空字符串
Expected behavior
下载报错,Caused by: java.lang.NullPointerException at org.apache.linkis.storage.excel.StorageExcelWriter.getWorkBook(StorageExcelWriter.scala:63)
Your environment
- Linkis version used: 1.0.3
- Environment name and version:
- cdh-6.3.2
- hdp-3.1.5
- hive-2.1.1
- spark-3.2.1
- scala-2.12.2
- jdk 1.8.0_121
- ....
Anything else
No response
Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
:blush: Welcome to the Apache Linkis community!!
We are glad that you are contributing by opening this issue.
Please make sure to include all the relevant context. We will be here shortly.
If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.
Community
| WeChat Assistant | WeChat Public Account |
|---|---|
![]() |
![]() |
Mailing Lists
| Name | Description | Subscribe | Unsubscribe | Archive |
|---|---|---|---|---|
| [email protected] | community activity information | subscribe | unsubscribe | archive |
Can give more log info

