MCPcopy Create free account
hub / github.com/apache/arrow / VersionLt

Method VersionLt

cpp/src/parquet/metadata.cc:1581–1591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1579}
1580
1581bool ApplicationVersion::VersionLt(const ApplicationVersion& other_version) const {
1582 if (application_ != other_version.application_) return false;
1583
1584 if (version.major < other_version.version.major) return true;
1585 if (version.major > other_version.version.major) return false;
1586 DCHECK_EQ(version.major, other_version.version.major);
1587 if (version.minor < other_version.version.minor) return true;
1588 if (version.minor > other_version.version.minor) return false;
1589 DCHECK_EQ(version.minor, other_version.version.minor);
1590 return version.patch < other_version.version.patch;
1591}
1592
1593bool ApplicationVersion::VersionEq(const ApplicationVersion& other_version) const {
1594 return application_ == other_version.application_ &&

Callers 3

ComputeColumnChunkRangeFunction · 0.80
GetColumnPageReaderMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64