Skip to content

Conversation

@yongjinhou
Copy link
Contributor

Proposed changes

Issue Number: close #35635
cherry-pick #35637 from master to branch-2.1

mrhhsg and others added 30 commits June 28, 2024 11:29
…36456) (apache#36948)

Deencapsulation.getField sometime doesn't work as expected, which may
cause FE unit test timeout. Add get function in source code to make it
easier.
backport: apache#36456
…#36817) (apache#36982)

There is a bug of direct select mv with specified partitions. Planner
will fail to find the mv column name. Because we need to create the
LogicalOlapScan object using the given mv instead of the base table.
```
mysql> SELECT mv_id from part8 index mv1 partition p1;
ERROR 1105 (HY000): errCode = 2, detailMessage = Unknown column 'mv_id' in 'table list' in PROJECT clause
```
This pr is to fix this.

backport: apache#36817
…apache#36914) (apache#36992)

For historical reason, statistics tables use -1 for OlapTable base index
id. This brings many if/else branch for stats calculate. This pr is to
screen the -1 for Nereids. The stats user could use the real base index
id to fetch stats cache. Will do the id translation inside the get cache
api.

backport: apache#36914
…che#36961)

## Proposed changes

pick apache#36960 

Issue Number: close #xxx

<!--Describe your changes.-->
…apache#36994)

## Proposed changes
1. disable sync filter when pipeline engine is off
2. reduce some warning log
…ment column on exchange node rather than on TabletWriter when using TABLET_SINK_SHUFFLE_PARTITIONED apache#36836" (apache#37029)

## Proposed changes

pick apache#36836
…connections in the connection pool to 30 by default (apache#37023)

pick (apache#36720)

In many cases, we found that users would use JDBC Catalog to perform a
large number of queries, which resulted in the maximum of 10 connections
being insufficient, so I adjusted it to 30, which covered most needs.
…stances (apache#35559) (apache#37047)

pick from master apache#35559

This PR introduces a change in the method removeOneSumLiteral to enhance
the performance of sum literal rewriting in SQL queries. The
modification ensures that sum literals appearing only once, such as in
expressions like select count(id1 + 1), count(id2 + 1) from t, are not
rewritten.
Yukang-Lian and others added 20 commits July 15, 2024 18:54
…pache#37313)

pick from master apache#37091

Co-authored-by: stephen <hello-stephen@qq.com>
…ache#34432) (apache#37827)


cherry-pick from master apache#34432

Co-authored-by: HappenLee <happenlee@hotmail.com>
…uild not finished (apache#37844)

cherry-pick from master apache#37792

## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->
… zero (apache#36719)

## Proposed changes

Issue Number: close #xxx

cherry-pick apache#35511

<!--Describe your changes.-->
apache#37798)

## Proposed changes
apache#37349
error code
```C++
return creator_without_type::create<AggregateFunctionForEach>(transform_arguments, true,
                                                                      nested_function);
```
"transform_arguments is an internal type of array. All internal types of
the array are null, so an array that is not null was mistakenly treated
as a null array."

## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->
…#35637)

## Proposed changes

Issue Number: close apache#35635

<!--Describe your changes.-->
Cast rules:Consistent with mysql.
String:Date
The first part is 1-digit x: 000x-month-day
The first part is 2-digit xy: 20xy-month-day / 19xy-month-day
The first part is 3-digit xyz: 20xy-0z-day / 19xy-0z-day
The first part is 4-digit xyzw: xyzw-month-day
@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.

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.

[Bug] The cast function does not convert string to date/datetime as expected