You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::sort(inputSources.begin(), inputSources.end(), [](framework::ConfigParamSpec const& a, framework::ConfigParamSpec const& b) { return a.name < b.name; });
78
99
auto last = std::unique(inputSources.begin(), inputSources.end(), [](framework::ConfigParamSpec const& a, framework::ConfigParamSpec const& b) { return a.name == b.name; });
auto realisticSchema = std::make_shared<arrow::Schema>(o2::soa::createFieldsFromColumns(o2::aod::MetadataTrait<o2::aod::Hash<"HMPID/1"_h>>::metadata::persistent_columns_t{}));
470
+
ArrowJSONHelpers::write(osm, realisticSchema);
471
+
472
+
ism.clear();
473
+
ism.str(osm.str());
474
+
auto restoredSchema = ArrowJSONHelpers::read(ism);
auto realisticSchema1 = std::make_shared<arrow::Schema>(o2::soa::createFieldsFromColumns(o2::aod::MetadataTrait<o2::aod::Hash<"ZDC/1"_h>>::metadata::persistent_columns_t{}));
480
+
ArrowJSONHelpers::write(osm, realisticSchema1);
481
+
482
+
ism.clear();
483
+
ism.str(osm.str());
484
+
auto restoredSchema1 = ArrowJSONHelpers::read(ism);
0 commit comments