Skip to content

Conversation

@zclllyybb
Copy link
Contributor

@zclllyybb zclllyybb commented Apr 11, 2024

Proposed changes

Issue Number: close #xxx

picked:

  1. [Feature](partition) Support insert overwrite auto detect partition #32156
  2. [Feature](partition) Support OLAP table null partition #31827
  3. [test](insert-overwrite) Add insert overwrite auto detect concurrency cases #32935
  4. [Enhancement](partition) Refine some auto partition behaviours #32737 (it was already in. I reverted it and pick again)
  5. [Fix](grace-exit) Fix threadpool hang on grace exit #33132
  6. [Enhancement](auto-partition) support all intervals for date_trunc in auto partition #33439

and:
remove some cloud-relative code in above prs

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

}
// NOLINTEND(readability-function-size)

Status VOlapTablePartitionParam::_create_partition_keys(const std::vector<TExprNode>& t_exprs,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: method '_create_partition_keys' can be made static [readability-convert-member-functions-to-static]

Suggested change
Status VOlapTablePartitionParam::_create_partition_keys(const std::vector<TExprNode>& t_exprs,
static Status VOlapTablePartitionParam::_create_partition_keys(const std::vector<TExprNode>& t_exprs,


#pragma once

#include <glog/logging.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: 'glog/logging.h' file not found [clang-diagnostic-error]

#include <glog/logging.h>
         ^

#pragma once

// IWYU pragma: no_include <bits/chrono.h>
#include <fmt/format.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: 'fmt/format.h' file not found [clang-diagnostic-error]

#include <fmt/format.h>
         ^

    for auto partition, support nullable partition column.
    for auto list partition, support create real null partition for null values.
    for auto range partition, null value will raise a error now. but maybe we can improve this in the future
…e#32737)

fix legacy planner grammer
fix nereids planner parsing
fix cases
forbid auto range partition with null column
fix CreateTableStmt with auto partition and some partition items.
1 and 2 are about apache#31585
doc pr: apache/doris-website#488
… auto partition (apache#33439)

support all intervals for date_trunc in auto partition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants