Open reshinek opened 11 months ago
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.
if we use parquet::saveParquet to replace feather::save, the code works will.
thanks for your report, we will fix it in later release.
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_ptr, std::allocator<std::shared_ptr > > const&) () from /opt/dolphindb/server/plugins/feather/libPluginFeather.so
if we use parquet::saveParquet to replace feather::save, the code works will.