Commit Graph

11508 Commits

Author SHA1 Message Date
d545e00bc7 [improve](error) include detailed messages in rowset reader init error (#21229) 2023-06-27 20:45:14 +08:00
4061783674 [Fix](invert index)fix s3 failed to check the directory (#21232) 2023-06-27 20:01:46 +08:00
7c569fd9db [fix](s3_writer) init member's value to avoid undefined behavior (#21233) 2023-06-27 20:01:20 +08:00
5506faa7b4 [datetimev2](minor) Add scale parameter for datetimev2 (#21176) 2023-06-27 19:55:35 +08:00
29b3d39561 [enhancement](memory) print stacktrace for large allocation (#21069) 2023-06-27 19:39:51 +08:00
609410d82b [opt](hashmap) memset the hashmap memory to improve performance (#21225) 2023-06-27 19:30:57 +08:00
acba8648a5 [enhancement](nereids) Add log for stats (#21164)
1. LOG sql when analyze failed
2. Return directly for analyze_test suite when there is more than one frontend
3. Set query_timeout for tpcds suites to avoid unneccessary failed caused by analyze sync
2023-06-27 19:17:22 +08:00
bed2a5efa7 [typo](doc) Fix errors in the example (#21151) 2023-06-27 18:23:48 +08:00
3ab06bf381 [typo](docs) fix monitor alert doc start grafana err (#21244) 2023-06-27 18:20:32 +08:00
6eb8fc0fe3 [improvement](scripts) change the arch name in build-for-release scripts (#21240) 2023-06-27 18:11:17 +08:00
7d22910fbd [improvement](workloadgroup)add check when drop/set workload group (#21174)
1 check group exists when set group for user property;
eg, if g1 not exists, then set op should be failed.

mysql [test]>SET PROPERTY FOR 'root' 'default_workload_group' = 'g1';
ERROR 1105 (HY000): errCode = 2, detailMessage = workload group g1 not exists
2 check whether group is used for user when drop group;
eg, if a group is set for root, then drop should be failed.

mysql [test]>drop workload group test_g1;
ERROR 1105 (HY000): errCode = 2, detailMessage = workload group test_g1 is set for user root
2023-06-27 18:10:32 +08:00
64a1eb77f0 [opt](planner) support delete with a subquery in predicate by construct an insert. (#20983)
complex predicate in delete stmt like: 
```sql
delete from t1 where t1.id in (select id from t2);
```

will be replaced to an insert stmt.
```sql
insert into t1(id, __DORIS_DELETE_SIGN__) select id, 1 from t1 where id in (select id from t2);
```
2023-06-27 17:51:13 +08:00
c52c73c1c6 [fix](nereids)return original expr if cast to decimal literal overflow (#21189) 2023-06-27 17:25:04 +08:00
1fb0bdf66c [fix](regression-test) fix unstable case complex_insert.groovy caused by create mv (#21140)
currently, insert into a table creating a mv will rise an exception, we fix it by use the create mv action to ensure when we insert to a table, it will not be creating a mv.
2023-06-27 17:24:17 +08:00
84554ec0fd [fix](planner) the resultExprs should be substituted using table function node's outputSmap (#21182) 2023-06-27 17:19:49 +08:00
c470bf56a5 [chore](build) Fix compilation errors reported by GCC-13 (#21215)
Add missing headers to fix the compilation errors reported by GCC-13.
2023-06-27 17:04:44 +08:00
ec0e398c50 [enhancement](merge-on-write) record precise primary key index size (#21196) 2023-06-27 16:50:09 +08:00
7b93b26b8c [feature-wip](MTMV) optimize lock of mtmv job & task, to avoid dead lock (#21054) 2023-06-27 16:23:50 +08:00
5f4167d816 [fix](doc)description of stream-load (#20979) 2023-06-27 15:22:34 +08:00
f7fd891cd3 [typo](docs) delete no-used ENABLE-FEATURE doc (#21227) 2023-06-27 14:24:29 +08:00
20d441aab4 [Improve](tools)Add IssueNavigationLink to make IDEA support hyperlink on GitHub PR on Git plugin. (#21231) 2023-06-27 14:13:46 +08:00
4b94d34ec2 [fix](regression) Add get master token into regression framework (#21198) 2023-06-27 11:54:31 +08:00
Pxl
70ddf64126 [Chore](agg-state) add documentation about agg_state, add group_concat agg_state test case (#21147)
add documentation about agg_state, add group_concat agg_state test case
2023-06-27 11:28:19 +08:00
e0b20f0437 [feature](function) add ip function ipv4numtostring (alias inet_ntoa) (#20936) 2023-06-27 10:17:40 +08:00
efcc65a0d3 [feature-wip](workload-group) Support for workload group Authentication (#20242) 2023-06-27 09:57:18 +08:00
c9306e9c48 [improvement](ms jdbc)Support for automatically obtaining the precision of the sqlserver datetime type (#21145) 2023-06-26 23:10:46 +08:00
70207e0986 [typo](docs) improvement SQL manual database administration doc (#21204) 2023-06-26 22:59:41 +08:00
2fea770e32 [typo](docs) improvement SQL manual account management doc (#21203) 2023-06-26 22:52:15 +08:00
b89b17492f [typo](docs) improvement SQL manual cluster management doc (#21202) 2023-06-26 22:51:57 +08:00
254aaf589d [typo](docs) improvement SQL manual ddl backup and restore doc (#21200) 2023-06-26 22:33:29 +08:00
0fd77fdfa9 [typo](docs) improvement SQL manual dml load doc (#21199) 2023-06-26 22:33:13 +08:00
b2dc4a8cb9 [Fix](inverted index) check inverted index file existence befor data compaction (#21173) 2023-06-26 19:55:55 +08:00
095550271b [fix](nereids) set proper sort info to scan node to enable TopN-opt (#21148) 2023-06-26 19:54:37 +08:00
c19e35116b [fix](inverted index)fix transaction id not unique for one index change job when light index change (#21180) 2023-06-26 19:54:05 +08:00
50c1d55769 [Improve](dynamic schema) support filtering invalid data (#21160)
* [Improve](dynamic schema) support filtering invalid data

1. Support dynamic schema to filter illegal data.
2. Expand the regular expression for ColumnName to support more column names.
3. Be compatible with PropertyAnalyzer and support legacy tables.
4. Default disable parse multi dimenssion array, since some bug unresolved
2023-06-26 19:32:43 +08:00
05d94e5a4c [typo](docs) add a create table as select sample (#21078) 2023-06-26 19:27:05 +08:00
eb2a08bdf2 [typo](docs) Update the audit document (#21185) 2023-06-26 19:25:10 +08:00
65d81c04e6 [Docs](inverted index) update docs for build index (#21184) 2023-06-26 19:24:44 +08:00
839ad8786a [typo](docs) improvement SQL manual ddl drop doc (#21188) 2023-06-26 18:51:28 +08:00
986f3b2176 [typo](docs) improvement SQL manual ddl alter doc (#21179) 2023-06-26 18:17:01 +08:00
5ebac73a93 [typo](docs) improvement SQL manual ddl create doc (#21181) 2023-06-26 18:16:50 +08:00
9c5a0cc471 [bug](jdbc catalog) fix getPrimaryKeys fun bug (#21137) 2023-06-26 17:13:50 +08:00
cdc2d42c3a [refactor](Nereids): adjust order of rewrite rules. (#21133)
Put the rules that eliminate plan in front to avoid block other rules, so we can avoid to invoke pushdown filter/limit again
2023-06-26 16:47:33 +08:00
5fdd9b9254 [Bug](RuntimeFiter) Fix bf error change the murmurhash to crc32 in regression test p2 (#21167) 2023-06-26 16:39:45 +08:00
102b7f8873 remove useless case (#21166) 2023-06-26 16:27:32 +08:00
f2ed1bce1a [fix](nereids)change PushdownFilterThroughProject post processor from bottom up to top down rewrite (#21125)
1. pass physicalProperties in withChildren function
2. use top down traverse  in PushdownFilterThroughProject post processor
2023-06-26 15:34:41 +08:00
960e04b0ed [fix](inverted index) fix build inverted index failed but not return immediately (#21165) 2023-06-26 14:05:12 +08:00
2b3c82f57a [fix](multi-catalog)fix max compute scanner OOM and datetime (#20957)
1. Fix MC jni scanner OOM
2. add the second datetime type for MC SDK timestamp
3. make s3 uri case insensitive by the way
4. optimize max compute scanner parallel model
2023-06-26 13:53:29 +08:00
d4240ac21b [fix](multi-catalog)add oss sdk, supported oss properties (#21029) 2023-06-26 13:00:44 +08:00
5d2b69b06d [Enhancement](regression) let test case fail fast when job is cancelled (#20578) (#21103)
In doris regression-test/suites, a lot of test cases quit immediately only if "FINISHED", otherwise they will wait till timeout. For example:

while (max_try_secs--) {
        String res = getJobState(tbName1)
        if (res == "FINISHED") {
            sleep(3000)
            break
        } else {
            Thread.sleep(1000)
            if (max_try_secs < 1) {
                println "test timeout," + "state:" + res
                assertEquals("FINISHED", res)
            }
        }
   }
This PR added checks so that these test cases can quit immediately also if "CANCELLED", which is the only unchanging status other than "FINISHED".
2023-06-26 12:58:51 +08:00