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

Server will breakdown if call feather::save function by peach #23

Open
reshinek opened this issue Nov 8, 2023 · 1 comment
Open

Server will breakdown if call feather::save function by peach #23

reshinek opened this issue Nov 8, 2023 · 1 comment

Comments

@reshinek
Copy link

reshinek commented Nov 8, 2023

data to be saved:
A dict which key is a date, value is a table.

code:
saveOneDay = def(data_dict, save_path, d){
file_path = save_path + '/' + format(d,'yyyy-MM-dd.pt')
&tb = data_dict[d]
feather::save(tb,file_path)
// parquet::saveParquet(tb,file_path)
return file_path
}
dates = data_dict.keys()
peach(saveOneDay{data_dict, save_path}, dates)

gdb log:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f6756510771 in arrow::internal::ChunkResolver::ChunkResolver(std::vector<std::shared_ptrarrow::Array, std::allocator<std::shared_ptrarrow::Array > > const&) () from /opt/dolphindb/server/plugins/feather/libPluginFeather.so

if we use parquet::saveParquet to replace feather::save, the code works will.

@reshinek reshinek changed the title Server will breakdown if call feather:save function by peach Server will breakdown if call feather::save function by peach Nov 8, 2023
@peeyee
Copy link
Collaborator

peeyee commented Nov 13, 2023

thanks for your report, we will fix it in later release.

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

2 participants