Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FeMetaVersion.java #11

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
81 changes: 81 additions & 0 deletions .github/workflows/add-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# 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.


name: Add Meta-change Label

on:
pull_request:
push:
branches:
- master

jobs:
add-meta-change-label:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
if: ${{ github.event_name != 'pull_request' }}
uses: actions/checkout@v3
with:
submodules: recursive

- name: "Checkout ${{ github.ref }} ( ${{ github.event.pull_request.head.sha }} )"
if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
submodules: recursive

- name: Paths filter
uses: ./.github/actions/paths-filter
id: filter
with:
filters: |
meta_changes:
- 'fe/fe-common/src/main/java/org/apache/doris/common/FeMetaVersion.java'
- 'fe/fe-core/src/main/java/org/apache/doris/alter/AlterOpType.java'
- 'gensrc/thrift/*'
- 'gensrc/proto/*'

- name: "Add meta-change label to PR"
if: ${{ steps.filter.outputs.meta_changes == 'true' }}
uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
labels: ['meta-change']
});

- name: "Remove meta-change label to PR"
if: ${{ steps.filter.outputs.meta_changes != 'true' }}
uses: actions/github-script@v6
with:
script: |
github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
labels: ['meta-change']
});
4 changes: 2 additions & 2 deletions be/src/common/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@
namespace doris {
class Status;

// If you want to modify the value of config, please go to common/config.cpp to modify.
// If you want to modify the value of config, please go to common/config.cpp to modify...
namespace config {
// Dir of custom config file
DECLARE_String(custom_config_dir);

// Dir of jdbc drivers
// Dir of jdbc drivers.
DECLARE_String(jdbc_drivers_dir);

// cluster id
Expand Down
Loading