Commit Graph

6608 Commits

Author SHA1 Message Date
6834fb23ca [fix](s3) fix s3 Temp file may write failed because of has no space on disk (#9421) 2022-05-09 09:28:43 +08:00
5df5d39161 [doc] update data-model.md and data-partition.md (#9448)
update data-model.md and data-partition.md
2022-05-09 09:19:09 +08:00
35f0725387 [doc] Update DECIMAL.md (#9451)
* Update DECIMAL.md
2022-05-09 09:17:24 +08:00
327f61b796 Update data-partition.md (#9450)
Update data-partition.md
2022-05-09 09:17:00 +08:00
8932fcaf59 [Doc] fix doc link suffix .html to .md (#9442)
* fix doc link suffix html to md
2022-05-09 09:16:06 +08:00
580ce38a3f [fix](schema_hash) Fix bug that introduced by removing schema_hash (#9449) 2022-05-08 21:03:10 +08:00
c633402ce3 [feature] (sql-digest) support sql digest (#8919) 2022-05-08 17:25:41 +08:00
52a2db18c0 [Enhancement](Optimizer) Optimize nereids tree node structure (#9446)
This pr optimize nereids tree node structure for generic parameter and Nary abstract tree node.
It can facilitate the use of pattern match framework.
2022-05-08 16:56:00 +08:00
7234c964ae [Bug] Missing error tablet list when close_wait return error (#9418) 2022-05-08 06:45:28 +08:00
181aa1b4a9 [style]add IntelliJ code style xml (#9438) 2022-05-08 06:41:46 +08:00
68fae88b36 improve doc spark3.2.0 (#9445) 2022-05-08 06:39:58 +08:00
1746f61388 [refactor](test) Refactor FE unit test framework that starts a FE server. (#9388)
Currently, we use `UtFrameUtils` to start a FE server in the FE unit test. 
Each test class has to do some initialization and clean up stuff with the JUnit4
`@BeforeClass` and `@AfterClass` annotation. It's redundant and boring.
Besides, almost all the APIs in `UtFrameUtils` has a `ConnectContext` parameter, which is not easy to use.

This PR proposes to use an inherit-manner, i.e., wrap all the common logic in base class `TestWithFeService`,
leveraging the 
JUnit5 `@BeforeAll` and `@AfterAll` annotation to narrow down the setup and cleanup lifecycle to each test class instance.
At the same time, the derived concrete test class could directly use utility methods inherited from the base class,
without calling a util class and passing a `ConnectContext` argument.

`UtFrameUtils` and `DorisAssert`  are marked as deprecated. We could remove these two classes
if this refactor works well for a time.
2022-05-07 21:28:42 +08:00
fd11a6b493 [fix][feature](Function) fix return type && support hll_union_agg/group_concat agg to window function (#9119) 2022-05-07 20:44:04 +08:00
e5a88dd0a4 [fix](rewrite) The where condition cannot be pushed down because there is no derivation (#8980)
Fix a bug.
The where condition cannot be pushed down because there is no derivation

eg:
select * from tb1 left join tb2 on tb1.id = tb2.id where tb2.id = 1;

The correct case is that the condition of "=1" needs to be deduced to tb1.id,
but the current implementation does not do the deduction
2022-05-07 20:41:11 +08:00
4235db8902 [refactor] some code cleanup for min/max function. (#8874) 2022-05-07 20:39:44 +08:00
9bae0a61ed [fix]Stream load 307 temporary redirection authentication information is lost (#9363) 2022-05-07 19:22:45 +08:00
816aaa7fd1 [doc]Add create java udf document (#9430)
* Add create java udf document

* Add create java udf document
2022-05-07 19:20:56 +08:00
ca92297030 [FE Code Style] Fix wrong checkstyle action configuration (#9370) 2022-05-07 19:18:00 +08:00
b6a74cfea5 [Bug][CTAS] create table by partition list (#9412)
Co-authored-by: Rongqian Li <rongqian_li@idgcapital.com>
2022-05-07 19:17:39 +08:00
ba2cc98cc0 [doc]fix typo in en faq and format pattern (#9423) 2022-05-07 19:16:59 +08:00
a5a7d1276b [DOC]Improve fe idea dev (#9431) 2022-05-07 19:15:35 +08:00
53574ce0ea [Bug] (fix) DeltaWriter::mem_consumption() coredump (#9245) 2022-05-07 19:13:08 +08:00
882987c0e7 [doc]Add hll usage documentation (#9398)
Add hll usage documentation
2022-05-07 18:56:48 +08:00
49890ce9aa [BUG][Vectorized] fix replace_if_not_null in vectorized compaction (#9376) 2022-05-07 17:16:54 +08:00
Pxl
98bfeaf560 [Enhancement] [Vectorized] Refactor and optimize BinaryOperation (#9087) 2022-05-07 10:55:15 +08:00
2ccaa6338c [enhancement](load) optimize load string data and dict page write (#9123)
* [enhancement](load) optimize load string data and dict page write
2022-05-07 10:27:27 +08:00
6f0c8fb698 [Feature] CTAS support insert data (#9271) 2022-05-07 08:51:54 +08:00
659417c5c9 [doc]add error reason for storage medium (#9390) 2022-05-07 08:46:50 +08:00
22439cb6a6 [Improvement] [compaction]Enable vectorized compaction by default (#9383) 2022-05-07 08:46:35 +08:00
0d909b73a1 [doc] add github checks doc (#9387) 2022-05-07 08:44:23 +08:00
48966c9e7c [fix][doc]style issues (#9386) 2022-05-07 08:44:08 +08:00
dce18cb325 [doc] Add window functions sql help doc (#9393) 2022-05-07 08:43:51 +08:00
f5ef179f22 [fix][doc]Chinese and English homepage link error (#9397)
Chinese and English homepage link error
2022-05-07 08:43:34 +08:00
811f019e47 [performance][query]improve the performance of DISTINCT aggregation by using flat hash set replace unordered set (#9401)
Co-authored-by: shizhiqiang03 <shizhiqiang03@meituan.com>
2022-05-07 08:43:14 +08:00
b0afa850ca [doc]Fix some path error in regression-testing doc (#9413) 2022-05-07 08:40:23 +08:00
17b95b4366 [docs]docs ddl modify (#9415) 2022-05-07 08:39:47 +08:00
e7f12db06c [fixbug][compaction] update OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION (#9410) 2022-05-07 08:39:20 +08:00
a9831f87f2 [refactor]refactor lazy materialized (#8834)
[refactor]refactor lazy materialized (#8834)
2022-05-06 19:16:35 +08:00
c1707ca388 [feature][datax]doriswriter support timeZone (#9327) 2022-05-06 18:39:10 +08:00
ce02c661e3 [WIP-feature](Optimizer) Nereids code base (#9392)
Nereids(new optimizer) code base

Nereids is new query planner for Doris. It include three main parts: parser, analyzer and optimizer.
The parser, generated by ANTLR4, transforms SQL into a logical plan with a tree structure. Analysis and optimization are performed on the logical plan of the tree structure. Each transformation is defined as a rule. The rule is applied to the logical plan using pattern matching. The implementation of the optimizer follows the approach in the Cascades paper.
2022-05-06 16:22:29 +08:00
edc833ab76 [Bug][stream-vec-load] Null data load do not skip the same place data (#9360)
Co-authored-by: lihaopeng <lihaopeng@baidu.com>
2022-05-06 16:07:45 +08:00
7af79e1df5 [Feature][dbt] add partition_type support (#9389) 2022-05-06 15:27:34 +08:00
86b7717fe2 [doc]Add binlog to load and import the doris table and the original table … (#9317) 2022-05-06 15:22:55 +08:00
e130d2f233 [fix][compaction] Rowset::end_version null pointer(#9379) 2022-05-06 14:40:08 +08:00
e3b90de2d5 remove file result writer from result sink (#9378) 2022-05-06 02:37:20 +08:00
a5f9031c89 [improvement](hive) Support hive with HA HDFS. Pass ha configuration through hive create table properties. (#9151)
Doris couldn't resolve the defaultFS of HDFS with HA configuration, so it could query hive table on HA HDFS.
This is because there's no way to send the HA configs to hive external table.

Describe the overview of changes.
Pass the ha configs to hive external table through create table properties.

Usage:
Example of creating hive table with ha configuration properties:

CREATE TABLE region (
r_regionkey integer NOT NULL,
r_name char(25) NOT NULL,
r_comment varchar(152)
) engine=hive properties
("database"="default",
"table"="region",
"hive.metastore.uris"="thrift://172.21.16.11:7004",
"dfs.nameservices"="hacluster",
"dfs.ha.namenodes.hacluster"="3,4",
"dfs.namenode.rpc-address.hacluster.3"="192.168.0.93:8020",
"dfs.namenode.rpc-address.hacluster.4"="172.21.16.11:8020", "dfs.client.failover.proxy.provider.hacluster"="org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider");
2022-05-05 23:43:11 +08:00
2970f9842e [doc] The description of the metadata design document is not clear (#9367) 2022-05-05 20:48:32 +08:00
e5d4cf01ed [fix](ut) fix a potential memory leak in BE ut (#9362) 2022-05-05 20:47:31 +08:00
ae0f6b17d8 [doc]fix geo funtion st_distance_sphere (#9341)
add ST_Distance_Sphere function parameter values range restrictions
2022-05-05 20:46:22 +08:00
cec09c18f9 [doc][community] add more collaborator and modify documents (#9320)
1. Add collaborator morrySnow
2. Add document: How To Be A Committer
3. Add guidance to install clang-format 11
2022-05-05 20:46:03 +08:00