Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions core/testsupport/src/TestSupport.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,6 @@ static struct ForbidDiagnostics {
}

// FIXME: RNTuple warns that it's in beta stage.
if (level == kWarning
&& strstr(msg, "The RNTuple file format will change. Do not store real data with this version of RNTuple!") != nullptr) {
std::cerr << "Warning in " << location << " " << msg << std::endl;
return;
}
if (level == kWarning
&& strstr(msg, "Pre-release format version: RC ") != nullptr) {
std::cerr << "Warning in " << location << " " << msg << std::endl;
return;
}
if (level == kWarning && strstr(msg, "Merging RNTuples is experimental") != nullptr) {
std::cerr << "Warning in " << location << " " << msg << std::endl;
return;
Expand Down
6 changes: 2 additions & 4 deletions tree/ntuple/v7/doc/BinaryFormatSpecification.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# RNTuple Binary Format Specification 0.3.0.0

**Note:** This is work in progress. The RNTuple specification is not yet finalized.
# RNTuple Binary Format Specification 1.0.0.0

## Versioning Notes

Expand All @@ -9,7 +7,7 @@ It uses the following scheme: EPOCH.MAJOR.MINOR.PATCH

_Epoch_: an increment of the epoch indicates backward-incompatible changes.
The RNTuple pre-release has epoch 0.
The first public release will get epoch 1.
The first public release has epoch 1.
There is currently no further epoch foreseen.

_Major_: an increment of the major version indicates forward-incompatible changes.
Expand Down
4 changes: 2 additions & 2 deletions tree/ntuple/v7/inc/ROOT/RNTuple.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ class RNTuple final {
std::uint64_t nbytesFooter, std::uint64_t lenFooter, std::uint64_t maxKeySize);

public:
static constexpr std::uint16_t kVersionEpoch = 0;
static constexpr std::uint16_t kVersionMajor = 3;
static constexpr std::uint16_t kVersionEpoch = 1;
static constexpr std::uint16_t kVersionMajor = 0;
static constexpr std::uint16_t kVersionMinor = 0;
static constexpr std::uint16_t kVersionPatch = 0;

Expand Down
7 changes: 0 additions & 7 deletions tree/ntuple/v7/src/RPageStorageDaos.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,6 @@ struct RDaosContainerNTupleLocator {
throw ROOT::Experimental::RException(
R__FAIL("unsupported RNTuple epoch version: " + std::to_string(anchor.fVersionEpoch)));
}
if (anchor.fVersionEpoch == 0) {
static std::once_flag once;
std::call_once(once, [&anchor]() {
R__LOG_WARNING(ROOT::Experimental::NTupleLog())
<< "Pre-release format version: RC " << anchor.fVersionMajor;
});
}

builder.SetOnDiskHeaderSize(anchor.fNBytesHeader);
buffer = std::make_unique<unsigned char[]>(anchor.fLenHeader);
Expand Down
11 changes: 0 additions & 11 deletions tree/ntuple/v7/src/RPageStorageFile.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ ROOT::Experimental::Internal::RPageSinkFile::RPageSinkFile(std::string_view ntup
const RNTupleWriteOptions &options)
: RPagePersistentSink(ntupleName, options)
{
static std::once_flag once;
std::call_once(once, []() {
R__LOG_WARNING(NTupleLog()) << "The RNTuple file format will change. "
<< "Do not store real data with this version of RNTuple!";
});
fCompressor = std::make_unique<RNTupleCompressor>();
EnableDefaultMetrics("RPageSinkFile");
fFeatures.fCanMergePages = true;
Expand Down Expand Up @@ -322,12 +317,6 @@ void ROOT::Experimental::Internal::RPageSourceFile::LoadStructureImpl()
if (fAnchor->GetVersionEpoch() != RNTuple::kVersionEpoch) {
throw RException(R__FAIL("unsupported RNTuple epoch version: " + std::to_string(fAnchor->GetVersionEpoch())));
}
if (fAnchor->GetVersionEpoch() == 0) {
static std::once_flag once;
std::call_once(once, [this]() {
R__LOG_WARNING(NTupleLog()) << "Pre-release format version: RC " << fAnchor->GetVersionMajor();
});
}

fDescriptorBuilder.SetOnDiskHeaderSize(fAnchor->GetNBytesHeader());
fDescriptorBuilder.AddToOnDiskFooterSize(fAnchor->GetNBytesFooter());
Expand Down
4 changes: 0 additions & 4 deletions tree/ntuple/v7/test/ntuple_merger.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,6 @@ TEST(RNTupleMerger, MergeThroughTFileMergerIncremental)
TEST(RNTupleMerger, MergeThroughTFileMergerKey)
{
ROOT::TestSupport::CheckDiagsRAII diags;
diags.optionalDiag(kWarning, "RPageSinkFile", "The RNTuple file format will change.", false);
diags.optionalDiag(kWarning, "[ROOT.NTuple]", "Pre-release format version: RC 2", false);
diags.requiredDiag(kWarning, "TFileMerger", "Merging RNTuples is experimental");
diags.requiredDiag(kError, "RNTuple::Merge", "Output file already has key, but not of type RNTuple!");
diags.requiredDiag(kError, "TFileMerger", "Could NOT merge RNTuples!");
Expand Down Expand Up @@ -774,8 +772,6 @@ TEST(RNTupleMerger, MergeThroughTFileMergerKey)
TEST(RNTupleMerger, MergeThroughTBufferMerger)
{
ROOT::TestSupport::CheckDiagsRAII diags;
diags.optionalDiag(kWarning, "RPageSinkFile", "The RNTuple file format will change.", false);
diags.optionalDiag(kWarning, "[ROOT.NTuple]", "Pre-release format version: RC 2", false);
diags.requiredDiag(kWarning, "TFileMerger", "Merging RNTuples is experimental");
diags.requiredDiag(kWarning, "TBufferMergerFile", "not attached to the directory", false);

Expand Down
2 changes: 1 addition & 1 deletion tree/ntuple/v7/test/ntuple_storage.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ TEST(RNTuple, WritePageBudget)
#ifdef R__HAS_DAVIX
TEST(RNTuple, OpenHTTP)
{
std::unique_ptr<TFile> file(TFile::Open("http://root.cern/files/tutorials/ntpl004_dimuon_v1rc3.root"));
std::unique_ptr<TFile> file(TFile::Open("http://root.cern/files/tutorials/ntpl004_dimuon_v1.root"));
auto Events = std::unique_ptr<ROOT::RNTuple>(file->Get<ROOT::RNTuple>("Events"));
auto model = RNTupleModel::Create();
model->MakeField<ROOT::RNTupleCardinality<std::uint32_t>>("nMuon");
Expand Down
1 change: 0 additions & 1 deletion tree/ntuple/v7/test/ntuple_storage_daos.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class RPageStorageDaos : public ::testing::Test {
// Initialized at the start of each test to expect diagnostic messages from TestSupport
fRootDiags.optionalDiag(kWarning, "ROOT::Experimental::Internal::RPageSinkDaos::RPageSinkDaos",
"The DAOS backend is experimental and still under development.", false);
fRootDiags.optionalDiag(kWarning, "[ROOT.NTuple]", "Pre-release format version: RC 3", false);
fRootDiags.optionalDiag(kWarning, "in int daos_init()",
"This RNTuple build uses libdaos_mock. Use only for testing!");
}
Expand Down
2 changes: 0 additions & 2 deletions tree/ntuple/v7/test/rfield_class.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,6 @@ TEST(RNTuple, TClassReadRules)
{
ROOT::TestSupport::CheckDiagsRAII diags;
diags.requiredDiag(kWarning, "[ROOT.NTuple]", "ignoring I/O customization rule with non-transient member: a", false);
diags.optionalDiag(kWarning, "[ROOT.NTuple]", "The RNTuple file format will change.", false);
diags.optionalDiag(kWarning, "[ROOT.NTuple]", "Pre-release format version: RC 2", false);

FileRaii fileGuard("test_ntuple_tclassrules.root");
char c[4] = {'R', 'O', 'O', 'T'};
Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl001_staff.C
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/RNTupleModel.hxx>
#include <ROOT/RNTupleReader.hxx>
Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl002_vector.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/RNTupleModel.hxx>
#include <ROOT/RNTupleReader.hxx>
Expand Down
5 changes: 2 additions & 3 deletions tutorials/v7/ntuple/ntpl004_dimuon.C
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/RDataFrame.hxx>
#include <ROOT/RNTupleDS.hxx>
Expand All @@ -37,7 +36,7 @@
// Import classes from experimental namespace for the time being
using RNTupleDS = ROOT::Experimental::RNTupleDS;

constexpr char const *kNTupleFileName = "http://root.cern/files/tutorials/ntpl004_dimuon_v1rc3.root";
constexpr char const *kNTupleFileName = "http://root.cern/files/tutorials/ntpl004_dimuon_v1.root";

using namespace ROOT::VecOps;

Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl005_introspection.C
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/RNTupleModel.hxx>
#include <ROOT/RNTupleReader.hxx>
Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl006_friends.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/RNTupleModel.hxx>
#include <ROOT/RNTupleReader.hxx>
Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl007_mtFill.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/REntry.hxx>
#include <ROOT/RNTupleModel.hxx>
Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl008_import.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/RNTupleDS.hxx>
#include <ROOT/RNTupleImporter.hxx>
Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl009_parallelWriter.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/RNTupleFillContext.hxx>
#include <ROOT/RNTupleModel.hxx>
Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl010_skim.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/RNTupleModel.hxx>
#include <ROOT/RNTupleReader.hxx>
Expand Down
4 changes: 2 additions & 2 deletions tutorials/v7/ntuple/ntpl011_global_temperatures.C
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
/// \author John Yoon

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data! During ROOT setup, configure the following flags:
// Functionality and interface are still subject to changes.
// During ROOT setup, configure the following flags:
// `-DCMAKE_CXX_STANDARD=17 -Droot7=ON -Dwebgui=ON`

#include <ROOT/RDataFrame.hxx>
Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl012_processor.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/RNTupleModel.hxx>
#include <ROOT/RNTupleWriter.hxx>
Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl013_staged.C
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/RNTupleFillContext.hxx>
#include <ROOT/RNTupleModel.hxx>
Expand Down
3 changes: 1 addition & 2 deletions tutorials/v7/ntuple/ntpl014_framework.C
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
/// \author The ROOT Team

// NOTE: The RNTuple classes are experimental at this point.
// Functionality, interface, and data format is still subject to changes.
// Do not use for real data!
// Functionality and interface are still subject to changes.

#include <ROOT/REntry.hxx>
#include <ROOT/RNTupleFillContext.hxx>
Expand Down
Loading