Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否增加配置,可以自定义文件导出位置,以及增加导出csv类型 #15

Closed
xjxjin opened this issue Dec 21, 2022 · 4 comments

Comments

@xjxjin
Copy link

xjxjin commented Dec 21, 2022

能否增加配置,可以自定义文件导出位置
能否增加默认导出类型csv

@clsaa
Copy link
Collaborator

clsaa commented Dec 21, 2022

没太理解自定义文件导出的位置是指?
CSV格式是可以增加和支持的,文件读写有一个SPI,只需要扩展这个SPI即可,我本周可以加一个demo在里面

@xjxjin
Copy link
Author

xjxjin commented Dec 22, 2022

image

此处位置是固定的为user.home/agei/xxx.xlsx,能否修改成可配置的,自己指定生成的文件路径。
以及自己给定文件名生成规则,比如固定前缀+日期时间+随机数等之类的

@iYaDongWang
Copy link

你好,如果是使用LocalStore进行写文件,可以通过设置LocalFileStoreOptions的basePath属性达到修改文件导出位置的目的。
image

@clsaa
Copy link
Collaborator

clsaa commented Jan 29, 2023

麻烦看下上边其他同学的回复哈,但一般在生产环境会将文件存在OSS而不是本地

@clsaa clsaa closed this as completed Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants