dea40e7095
[fix](Nereids): NullSafeEqual should be in HashJoinCondition ( #27127 )
...
Originally, we just put `EqualTo` in `HashJoinCondition`, we also need to allow `NullSafeEqual`
2023-11-21 19:08:14 +08:00
445484270b
[fix](Nereids): fill miss slot in having subquery ( #27177 )
...
fill miss slot in having subquery.
such as
```
select * from t group by k having max(k) in (select k from t2)
```
the max(k) should be push down aggregate
2023-11-21 18:54:58 +08:00
1ebb54afdc
[fix](null equal) fix coredump of pushing eq_for_null ( #27341 )
2023-11-21 18:36:33 +08:00
f7a1c3edac
[FIX](jsonb)fix jsonb is not in predict column #27325
2023-11-21 18:35:12 +08:00
016dccb4b7
[fix](null_equal) fix wrong result and coredump of operator <=> ( #27312 )
...
* [fix](null_equal) fix wrong result and coredump of operator <=>
* fix
2023-11-21 14:32:03 +08:00
b63f00987f
[regression](invered index) add test null index case and fix fault injection index case ( #27265 )
2023-11-21 14:04:57 +08:00
cee8cc44e2
[Bug](insert)fix insert wrong data on mv when stmt have multiple values ( #27297 )
...
fix insert wrong data on mv when stmt have multiple values
2023-11-21 12:55:30 +08:00
c0f22e8feb
[FIX](complextype)fix struct nested complex collection type and and regresstest ( #26973 )
2023-11-20 22:29:12 +08:00
0b459e50fb
[fix](partial update) keep case insensitivity and use the columns' origin names in partialUpdateCols in origin planner ( #27223 )
...
close : #27161
2023-11-20 21:16:28 +08:00
273cbfc36c
[fix](inverted index) reset fs_writer to nullptr before throw exception ( #27202 )
2023-11-20 17:40:56 +08:00
7164b7cebb
[case](regression) add read json by line test case ( #26670 )
...
Co-authored-by: qinhao <qinhao@newland.com.cn >
2023-11-20 17:33:40 +08:00
80c75b6da4
[fix](schema change) fix bug of query failure after rename column ( #26300 )
2023-11-20 16:54:40 +08:00
add6bdb240
[fix](multi-catalog)add the max compute fe ut and fix download expired ( #27007 )
...
1. add the max compute fe ut and fix download expired
2. solve memery leak when allocator close
3. add correct partition rows
2023-11-20 10:42:07 +08:00
767b5a1770
[test](external_table_p0)append log in external_table_p0 for debug unknown table case ( #27212 )
2023-11-19 22:47:32 +08:00
febd60c75f
[fix](join) incorrect result of left join with other conjuncts ( #27238 )
2023-11-19 15:36:39 +08:00
b560d863c2
[fix](dynamic) Fix error reporting when dynamic partition properties contain incorrect attributes ( #25373 )
2023-11-19 09:51:57 +08:00
329abc3452
[feature](nereids) runtime filter prune when column stats are not available ( #27099 )
...
1. prune rf when column stats are not available
2. print rf in "explain shape plan", both join side and apply side
3. add regression case to check plan shape/rf/rf prune for tpch_sf1000 (stats are not available)
2023-11-18 19:32:33 +08:00
b42828cf69
[fix](window_function) min/max/sum/avg should be always nullable ( #27104 )
...
Co-authored-by: starocean999 <40539150+starocean999@users.noreply.github.com >
2023-11-18 18:41:42 +08:00
2f41e0c823
[FIX](complextype)fix information schema for complex type ( #27203 )
...
when we select in information schema , here do not show complex type information
2023-11-18 11:32:32 +08:00
4b6330cb93
[regression test](http stream) add case for strict_mode ( #27098 )
2023-11-18 00:10:02 +08:00
fc47eb51f7
[regression test](schema change) add some schema change regression cases ( #27112 )
2023-11-18 00:08:53 +08:00
fc18dc6a05
[fix](regression-test) enhance stream load test user password ( #27170 )
2023-11-18 00:01:39 +08:00
b477839bce
[enhancement](jdbc catalog) Add lowercase column name mapping to Jdbc data source & optimize database and table mapping ( #27124 )
...
This PR adds the processing of lowercase Column names in Oracle Jdbc Catalog. In the previous behavior, we changed all Oracle columns to uppercase queries by default, but could not handle the lowercase case. This PR can solve this situation and improve All Jdbc Catalog works
2023-11-17 23:51:47 +08:00
52995c528e
[fix](iceberg) iceberg use customer method to encode special characters of field name ( #27108 )
...
Fix two bugs:
1. Missing column is case sensitive, change the column name to lower case in FE for hive/iceberg/hudi
2. Iceberg use custom method to encode special characters in column name. Decode the column name to match the right column in parquet reader.
2023-11-17 18:38:55 +08:00
0ece18d6cd
[FIX](regresstest) fix test_map_nested_array csv file for id( #27105 )
2023-11-17 04:20:02 -06:00
fa7e1b7fc7
[fix](Nereids) result type of add precision is 1 more than expected ( #27136 )
2023-11-17 04:13:09 -06:00
9b040b3fbd
[fix](nereids) partition prune fails in case of NOT expression ( #27047 )
...
* handle not and add regression test
2023-11-17 15:50:09 +08:00
ec92ba4af1
[fix](statistics)Fix alter column stats bug ( #27093 )
...
Encode the min and max value with base64 encoder while inject the column stats.
2023-11-17 15:40:47 +08:00
b359fff097
[regression test](http_stream) Case for Invalid file format ( #27133 )
2023-11-17 13:46:17 +08:00
a0661ed9d2
[Fix](multi-catalog) Fix complex type crash when using dict filter facility in the parquet-reader. ( #27151 )
...
- Fix complex type crash when using the dict filter facility in the parquet-reader by turning off the dict filter facility in this case.
- Add orc complex types regression test.
2023-11-17 13:43:58 +08:00
c7d961cb11
[regression test](stream load) add case for strict_mode=true and max_filter_ratio=0.5 ( #27125 )
2023-11-17 13:39:01 +08:00
ee08958526
[regression test](http_stream) case for timezone ( #27149 )
...
It does not work now, anyway we need a case.
2023-11-17 13:36:41 +08:00
4fff9a5937
[Improvement](inverted index) delay inverted index col read to reduce IO ( #26080 ) ( #26337 )
2023-11-17 13:12:12 +08:00
06f0c10c8b
[fix](nereids) count in correlated subquery shoud not output null value ( #27064 )
...
consider sql:
SELECT * FROM t1 WHERE t1.a <= (SELECT COUNT(t2.a) FROM t2 WHERE (t1.b = t2.b));
when unnest correlated subquery, we create a left join node.
Assume outer query is left table and subquery is right one.
If there is no match, the row from right table is filled with nulls.
But COUNT function is always not nullable.
So wrap COUNT with Nvl to ensure it's result is 0 instead of null to get the correct result
2023-11-16 22:31:42 -06:00
4ac460af28
[decimal](tests) add test case for least/greatest for decimalv3 type ( #26930 )
2023-11-17 12:09:59 +08:00
91af86bc78
[fix](function) fix error when use negative number in explode_numbers #27020
2023-11-17 12:02:14 +08:00
334260dff7
[feature](function) support ip function ipv4stringtonum(ordefault, ornull), inet_aton ( #25510 )
2023-11-17 10:27:07 +08:00
a510b5be81
[regression](delete) add regression test for every type delete ( #26954 )
2023-11-16 08:03:31 -06:00
54989175fb
[case] Load json data with enable_simdjson_reader=false ( #26601 )
2023-11-16 14:40:59 +08:00
2b401785ce
[fix](Nereids) build array and map literal expression failed ( #27060 )
...
1. empty array and map literal
2. multi-layer nested array and map literal
2023-11-16 00:08:24 -06:00
343d58123d
[Fix](nereids)Fix nereids fail to parse tablesample rows bug ( #26981 )
2023-11-16 12:23:37 +08:00
230d8af777
[regression test](temporary_partitions) add case for temporary_partitions #27063
2023-11-16 11:49:37 +08:00
f3ee6dd55a
[feature](Nereids): eliminate sort under subquery ( #26993 )
2023-11-16 10:30:28 +08:00
3ad865fef9
[refactor](storage) Expressing the types of computation layer and storage layer in PrimitiveTypeTraits ( #26191 )
2023-11-15 21:34:49 +08:00
718ba41cd1
[Enhance](regression) skip case test_information_schema_external ( #27056 )
2023-11-15 20:29:46 +08:00
83edcdead9
[enhancement](random_sink) change tablet search algorithm from random to round-robin for random distribution table ( #26611 )
...
1. fix race condition problem when get tablet load index
2. change tablet search algorithm from random to round-robin for random distribution table when load_to_single_tablet set to false
2023-11-15 19:55:31 +08:00
4e105e94a2
[fix](statistics) fix updated rows incorrect due to typo in code ( #26979 )
2023-11-15 05:25:46 -06:00
00896d8954
[fix](agg) fix coredump of multi distinct of decimal128I ( #27014 )
...
* [fix](agg) fix coredump of multi distinct of decimal128
* fix
2023-11-15 17:37:20 +08:00
2f529c1c7b
[feature](Nereids): remove True in Join condition ( #26951 )
...
Remove `True` in Join Condition like `SELECT * FROM t1 JOIN t2 on True`;
2023-11-15 15:58:33 +08:00
a1d139080d
[fix](nereids) patition prune is affected by non-paritition-key condition ( #26873 )
...
stop propagate Context.childrenContainsNonInterestedSlots if expr changed to TRUE
2023-11-15 14:46:59 +08:00