30f36070b5
[test](multi-catalog)Regression test for external hive parquet table ( #13611 )
2022-11-14 14:10:10 +08:00
23a8c7eeb6
(fix)(multi-catalog)(es) Fix error result because not used fields_context ( #14229 )
...
Fix error result because not used fields_context
2022-11-14 14:00:55 +08:00
8263c34da6
[fix](ctas) use json_object in CTAS get wrong result ( #14173 )
...
* [fix](ctas) use json_object in CTAS get wrong result
Signed-off-by: nextdreamblue <zxw520blue1@163.com >
2022-11-14 09:13:05 +08:00
376b4fda9f
[fix](scankey) fix extended scan key errors. ( #14200 )
...
Issue Number: close #14199
2022-11-12 20:44:09 +08:00
082028b2a2
[test](jdbc postgresql case)add jdbc test case for postgresql ( #14162 )
2022-11-12 20:43:13 +08:00
78fa167b0a
[test](jdbc external table) add jdbc regression test case ( #14086 )
2022-11-12 20:42:57 +08:00
43490a33a5
[feature-array](array-type) Add array function array_with_constant ( #14115 )
...
Return array of constants with length num.
```
mysql> select array_with_constant(4, 1223);
+------------------------------+
| array_with_constant(4, 1223) |
+------------------------------+
| [1223, 1223, 1223, 1223] |
+------------------------------+
1 row in set (0.01 sec)
```
co-authored-by @eldenmoon
2022-11-11 22:08:43 +08:00
0ba13af8ff
[feature](running_difference) support running_difference function ( #13737 )
2022-11-11 21:22:56 +08:00
2e29b15c6a
[test](array function)add array_range function test ( #14123 )
...
* add array_range function test
* add array_range function test
2022-11-11 18:04:33 +08:00
b6ba654f5b
[Feature](Sequence) Support sequence_match and sequence_count functions ( #13785 )
2022-11-11 13:38:45 +08:00
8e17fcef3f
[fix](cast)fix cast to char(N) error ( #14168 )
2022-11-11 11:27:51 +08:00
1ef85ae1f2
[Improvement](join) Support nested loop outer join ( #13965 )
2022-11-10 19:50:46 +08:00
84b969a25c
[fix](grouping)the grouping expr should check col name from base table first, then alias ( #14077 )
...
* [fix](grouping)the grouping expr should check col name from base table first, then alias
* fix fe ut, the behavior would be same as mysql
2022-11-10 11:10:42 +08:00
df622d8b7d
[Bug](udf) fix java-udaf process string type error and add some tests ( #14106 )
2022-11-10 09:30:57 +08:00
322ac5cf89
[refractor](array) refractor DataTypeArray from_string ( #13905 )
...
refractor DataTypeArray from_string, make it more clear;
support ',' and ']' inside string element, for example: ['hello,,,', 'world][]']
support empty elements, such as [,] ==> [0,0]
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-11-09 16:58:08 +08:00
55ca810445
[fix](Vectorized)fix json_object and json_array function return wrong result on vectorized engine ( #13775 )
...
Issue Number: close #13598
2022-11-09 11:26:55 +08:00
572f491756
[fix](ctas) text column type len = 1 when create table as select ( #13906 )
...
Signed-off-by: nextdreamblue <zxw520blue1@163.com >
2022-11-09 09:09:34 +08:00
151842a1fe
[feature](inverted index)WIP inverted index api: SQL syntax and metadata ( #13430 )
...
Introduce a SQL syntax for creating inverted index and related metadata changes.
```
-- create table with INVERTED index
CREATE TABLE httplogs (
ts datetime,
clientip varchar(20),
request string,
status smallint,
size int,
INDEX idx_size (size) USING INVERTED,
INDEX idx_status (status) USING INVERTED,
INDEX idx_clientip (clientip) USING INVERTED PROPERTIES("parser"="none")
)
DUPLICATE KEY(ts)
DISTRIBUTED BY RANDOM BUCKETS 10
-- add an INVERTED index to a table
CREATE INDEX idx_request ON httplogs(request) USING INVERTED PROPERTIES("parser"="english");
```
2022-11-08 23:46:53 +08:00
115c6bd411
[fix](keyranges) fix the split error of keyranges ( #14049 )
...
fix the split error of keyranges
2022-11-08 22:09:16 +08:00
f7ecb6d79f
[Bug](Bitmap) fix sub_bitmap calculate wrong result to return null ( #13978 )
...
fix sub_bitmap calculate wrong result to return null
2022-11-08 14:10:12 +08:00
34f43ac781
[bug](like function)fix like '' (empty string) get wrong result with all rows #14035
2022-11-08 08:51:39 +08:00
1c2532b9dc
[Bug](udf) Make UDF's type always nullable ( #14002 )
2022-11-07 20:51:31 +08:00
bb9182d602
[fix](repeat)remove unmaterialized expr from repeat node ( #13953 )
2022-11-07 14:13:05 +08:00
e8d2fb6778
[feature](function)add search functions: multi_search_all_positions & multi_match_any ( #13763 )
...
Co-authored-by: yiliang qiu <yiliang.qiu@qq.com >
2022-11-07 11:50:55 +08:00
7ffe88b579
[feature-array](array-type) Add array function array_popback ( #13641 )
...
Remove the last element from array.
```
mysql> select array_popback(['test', NULL, 'value']);
+-----------------------------------------------------+
| array_popback(ARRAY('test', NULL, 'value')) |
+-----------------------------------------------------+
| [test, NULL] |
+-----------------------------------------------------+
```
2022-11-07 10:48:16 +08:00
1724faf9a5
[test](java-udf)add java udf RegressionTest about the currently supported data types #13972
2022-11-05 19:25:58 +08:00
0a228a68d6
[Improvement](javaudf) support different date argument for date/datetime type ( #13920 )
2022-11-03 20:33:20 +08:00
d183199319
[Bug](array-type) Fix array product calculate decimal type return wrong result ( #13794 )
2022-11-03 17:26:34 +08:00
5fe3342aa3
[Vectorized](function) support bitmap_to_array function ( #13926 )
2022-11-03 14:29:28 +08:00
29e01db7ce
[Fix](Nereids) add comments to CostAndEnforcerJob and fix view test case ( #13046 )
...
1. add comments to cost and enforcer job as some code is too hard to understand
2. fix nereids_syntax_p0/view.groovy's multi-answer bug.
2022-11-03 12:12:24 +08:00
bfba058ecf
[Feature](join) Support null aware left anti join ( #13871 )
2022-11-03 12:11:25 +08:00
a4a991207b
[fix](agg)fix group by constant value bug ( #13827 )
...
* [fix](agg)fix group by constant value bug
* keep only one const grouping exprs if no agg exprs
2022-11-03 10:26:59 +08:00
37e4a1769d
[fix](sequence) fix that update table core dump with sequence column ( #13847 )
...
* [fix](sequence) fix that update table core dump with sequence column
* update
2022-11-03 09:02:21 +08:00
cc37ef0f2b
[regression-test](query) Add the regression case of the query under the large wide table. #13897
...
Co-authored-by: smallhibiscus <844981280>
2022-11-03 08:47:53 +08:00
7b4c2cabb4
[feature](new-scan) support transactional insert in new scan framework ( #13858 )
...
Support running transactional insert operation with new scan framework. eg:
admin set frontend config("enable_new_load_scan_node" = "true");
begin;
insert into tbl1 values(1,2);
insert into tbl1 values(3,4);
insert into tbl1 values(5,6);
commit;
Add some limitation to transactional insert
Do not support non-literal value in insert stmt
Fix some issue about array type:
Forbid cast other non-array type to NESTED array type, it may cause BE crash.
Add getStringValueForArray() method for Expr, to get valid string-formatted array type value.
Add useLocalSessionState=true in regression-test jdbc url
without this config, the jdbc driver will send some init cmd each time it connect to server, such as
select @@session.tx_read_only.
But when we use transactional insert, after begin command, Doris do not support any other type of
stmt except for insert, commit or rollback.
So adding this config to let the jdbc NOT send cmd when connecting.
2022-11-03 08:36:07 +08:00
e021705053
[feature](nereids) support common table expression ( #12742 )
...
Support common table expression(CTE) in Nereids:
- Just implemented inline CTE, which means we will copy the logicalPlan of CTE everywhere it is referenced;
- If the name of CTE is the same as an existing table or view, we will choose CTE first;
2022-11-02 23:41:53 +08:00
b83744d2f6
[feature](function)add regexp functions: regexp_replace_one, regexp_extract_all ( #13766 )
2022-11-02 23:15:57 +08:00
0ea7f85986
[fix](keyword) add BIN as keyword ( #13907 )
2022-11-02 22:30:43 +08:00
374303186c
[Vectorized](function) support topn_array function ( #13869 )
2022-11-02 19:49:23 +08:00
f2a0adf34e
[fix](fe) Inconsistent behavior for string comparison in FE and BE ( #13604 )
2022-11-02 15:32:13 +08:00
e6080a6e4c
[regression](join) add right anti join with other predicate regression case ( #13815 )
2022-11-02 13:27:58 +08:00
277025b046
[fix](join)ColumnNullable need handle const column with nullable const value ( #13866 )
2022-11-02 08:52:49 +08:00
287a739510
[javaudf](string) Fix string format in java udf ( #13854 )
2022-11-01 21:25:12 +08:00
e63608b556
[Bug](test) fix some test case result is ramdom ( #13837 )
2022-11-01 14:06:47 +08:00
42b2725f03
[Bug](delete) Fix wrong delete operation ( #13840 )
2022-11-01 13:38:43 +08:00
ba177a15cb
[feature-wip](recover) new recover ddl and support show catalog recycle bin ( #13067 )
2022-10-31 17:44:56 +08:00
53e5f3939e
[fix](plan)result exprs should be substituted in the same way as agg exprs ( #13744 )
...
* [fix](cast)ignore implicit cast when comparing two exprs
* fix fe ut
2022-10-31 10:19:32 +08:00
61b7c2c96c
[fix](join) fix incorrect result when using anti join with other join predicates ( #13743 )
2022-10-31 09:51:34 +08:00
b15e0a9fb5
[Bug](function) fix bug of if function of nullable column process ( #13779 )
2022-10-31 08:38:53 +08:00
98cc32aa0e
[BugFix](regression-test) add order by in left/right join test case ( #13774 )
...
The result of right join is unordered, so we need add order by to guarantee results consistent.
2022-10-30 18:00:08 +08:00