Version.java
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
package org.apache.doris.common;
// This is a generated file, DO NOT EDIT IT.
// To change this file, see gensrc/script/gen_build_version.sh
// the file should be placed in src/java/org/apache/doris/common/Version.java
public class Version {
// Runtime initializers keep build metadata out of cached consumers' constant pools.
// Refreshing Version.class during packaging must update both strings and version numbers.
public static final String DORIS_BUILD_VERSION_PREFIX = String.valueOf("doris");
public static final int DORIS_BUILD_VERSION_MAJOR = Integer.parseInt("4");
public static final int DORIS_BUILD_VERSION_MINOR = Integer.parseInt("2");
public static final int DORIS_BUILD_VERSION_PATCH = Integer.parseInt("0");
public static final int DORIS_BUILD_VERSION_HOTFIX = Integer.parseInt("0");
public static final String DORIS_BUILD_VERSION_RC_VERSION = String.valueOf("rc01");
public static final String DORIS_FEATURE_LIST = String.valueOf("");
public static final String DORIS_BUILD_VERSION = String.valueOf("doris-4.2.0-rc01");
public static final String DORIS_BUILD_HASH = String.valueOf("git://teamcity-auto-scaling-ut@b6ccbffba3452843ee4e7eb4ea5914d79e4829a8");
public static final String DORIS_BUILD_SHORT_HASH = String.valueOf("b6ccbffba3");
public static final String DORIS_BUILD_TIME = String.valueOf("Tue, 03 Nov 2026 14:11:05 CST");
public static final String DORIS_BUILD_INFO = String.valueOf("teamcity-auto-scaling-ut");
public static final String DORIS_JAVA_COMPILE_VERSION = String.valueOf("openjdk full version \"17.0.2+8-86\"");
public static final int DORIS_FE_META_VERSION = 0;
public static void main(String[] args) {
System.out.println("doris_build_version_prefix: " + DORIS_BUILD_VERSION_PREFIX);
System.out.println("doris_build_version_major: " + DORIS_BUILD_VERSION_MAJOR);
System.out.println("doris_build_version_minor: " + DORIS_BUILD_VERSION_MINOR);
System.out.println("doris_build_version_patch: " + DORIS_BUILD_VERSION_PATCH);
System.out.println("doris_build_version_rc_version: " + DORIS_BUILD_VERSION_RC_VERSION);
System.out.println("doris_feature_list: " + DORIS_FEATURE_LIST);
System.out.println("doris_build_version: " + DORIS_BUILD_VERSION);
System.out.println("doris_build_hash: " + DORIS_BUILD_HASH);
System.out.println("doris_build_short_hash: " + DORIS_BUILD_SHORT_HASH);
System.out.println("doris_build_time: " + DORIS_BUILD_TIME);
System.out.println("doris_build_info: " + DORIS_BUILD_INFO);
System.out.println("doris_java_compile_version: " + DORIS_JAVA_COMPILE_VERSION);
}
}