Skip to content
New issue

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

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

Already on GitHub? # to your account

Save Function - Export Data into a Excel File with Multiple Sheets #1749

Open
Lori-Lu opened this issue Apr 14, 2022 · 0 comments
Open

Save Function - Export Data into a Excel File with Multiple Sheets #1749

Lori-Lu opened this issue Apr 14, 2022 · 0 comments
Assignees

Comments

@Lori-Lu
Copy link

Lori-Lu commented Apr 14, 2022

Code:
-- save insights into a new sheet in the original Excel file
-- use append mode here to keep the original data
select count(*) as order_num from order as output;

save append output as excel../sample_data/sales/sales.xlsx
where header="true" and sheetName = "Insights";

Issue 1:
试了几次不同的方式save append/overwrite。基本上操作过一次之后 就开始报类似的错误 原始文件不在了
image

issue 2:
本来我是想save 数据到原始文件 只是加新的sheet
发现不太行 - 比如 我原来文件有2个sheet 我append 之后 原始文件还是2个 第二sheet 被overwrite了
其实 新的sheet的name 并没有被改写 还是default name - sheet 2

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants