Commit Graph

4373 Commits

Author SHA1 Message Date
de7dce4df8 [Refactor] remove some useless code (#8976) 2022-04-18 09:55:54 +08:00
04287cabb2 [Forbidden](Vec) Switch to non-vec engine when outer join + not null column (#8979)
* [Forbidden](Vec) Switch to non-vec engine when outer join + not null column

Vectorized code will occur `core` in the case of ```outer join + not null column```, such as issue #7901
So we need to fall back from vectorized mode to non-vectorized mode when we encounter this situation.

If the nullside column of the outer join is a column that must return non-null like count(*)
then there is no way to force the column to be nullable.
At this time, vectorization cannot support this situation,
so it is necessary to fall back to non-vectorization for processing.
For example:
  Query: set enable_vectorized_engine=true
  Query: select * from t1 left join (select k1, count(k2) as count_k2 from t2 group by k1) tmp on t1.k1=tmp.k1
  Result: Query goes non-vectorized engine
2022-04-18 09:55:33 +08:00
be0ba76dff [Refactor] Use '#pragma once' to replace '#define' and '#endif' (#9062) 2022-04-18 09:54:59 +08:00
c71ffc01de [Refactor] Cleanup some unused include (#9063) 2022-04-18 09:52:31 +08:00
b260bcba22 Modify some documents in the English version of doris (#9064)
Modify some documents in the English version of doris
2022-04-18 08:25:21 +08:00
352d93b566 [Refactor][doc] Fixed some issues in en and zh-CN docs (#9068)
* Modify some error in en and zh-CN docs
2022-04-18 08:24:57 +08:00
1a2620b724 [fix][doc]fix max_send_batch_parallelism_per_job default value (#9038)
* fix max_send_batch_parallelism_per_job default value
2022-04-17 15:22:07 +08:00
0f8a7ff985 [Refactor](ReportHandler) Remove some unused schema_hash code in fe (#9005) 2022-04-17 10:01:34 +08:00
a749f98e44 Fix get-starting en and zh-CN docs. (#9059)
Co-authored-by: smallhibiscus <844981280>
2022-04-16 20:02:14 +08:00
7278ad460c fix refactor doc bug (#9058)
fix refactor doc bug
2022-04-16 17:24:27 +08:00
c7a098c1b0 [fix](sql_block_rule) optimization of alter sql_block_rule stmt (#8971)
Optimization of alter sql_block_rule stmt.
2022-04-16 11:05:31 +08:00
b92dd11a1d [fix][doc]Data import document modification (#9057)
* [fix][doc]Data import document modification
2022-04-16 10:19:07 +08:00
c431da3bf8 [Refactor][doc] Fix bad link in documentation (#9053)
Fix bad link in documentation
2022-04-15 19:50:35 +08:00
2c7327fb7c add doc tpch and ssb (#9052)
add doc tpch and ssb
2022-04-15 19:22:38 +08:00
34457cd768 add show load warning (#9051)
add show load warning
2022-04-15 18:53:20 +08:00
6215e5b09f Add best practice docs in advanced module (#9049)
Add best practice docs in advanced module
2022-04-15 17:22:16 +08:00
556602a5f1 [Refactor][Doc]Add part of the document content for Get-Starting (#8867)
* Add part of the document content for Get-Starting
2022-04-15 16:38:42 +08:00
6fba6a58ea Add show proc,show trash (#9036)
Add show proc,show trash
2022-04-15 16:37:51 +08:00
b6a6310559 [Refactor][doc]Edit the ecological extension part of the document (#8926)
* Edit the ecological extension part of the document
2022-04-15 16:37:28 +08:00
f86a29066a Modify Account Management SQL Help Document (#9020)
Modify Account Management SQL Help Document
2022-04-15 16:34:57 +08:00
0dab974e91 add advance replace table (#9022)
add advance replace table
2022-04-15 16:33:41 +08:00
dbb340c330 add doc for ops monitor (#9029)
add doc for ops monitor
2022-04-15 16:33:07 +08:00
df021dc7eb Modify create and drop docs in DDL module. (#9030)
Modify create and drop docs in DDL module.
2022-04-15 16:32:48 +08:00
b895f7a38b add faq doc and http api (#9043)
add faq doc and http api
2022-04-15 16:31:52 +08:00
35a425e136 [Refactor][doc] Write documents related to cluster management and external data import (#9045)
* Write documents related to cluster management and external data import
2022-04-15 16:31:25 +08:00
415695f84e Add ldap, multi-tenant, sql-block-rule documentation (#9044)
Add ldap, multi-tenant, sql-block-rule documentation
2022-04-15 16:30:56 +08:00
d1d834694f [fix] Fix bug of wrong argument of drop_tablet function (#9031)
introduced from #8574
2022-04-15 15:19:28 +08:00
67c16f3a03 [fix](show-function) fix bug for show function (#9025)
show full function
result has an error:
INIT_FN and UPDATE_FN is wrong
2022-04-15 15:18:20 +08:00
a2d6724fa7 [fix] change parameter type of hll_cardinality from STRING to HLL (#9002)
In #8882, we disabled the conversion from string to hll. So we need to change the parameter type of hll_cardinality() too
2022-04-15 15:17:11 +08:00
7634e55513 [fix] fix p0 test failed because of char type cannot convert to datetime (#8996)
fix p0 test failed because of char type cannot convert to datetime
2022-04-15 15:16:00 +08:00
0bf72caf68 [Bug][Vectorized] Fix UB when doing ORDER BY. (#9023) 2022-04-15 14:02:29 +08:00
ca4f4d199e [Feature][regression-test]CSV import and export support header (#8487) (#9017)
* [Feature][regression-test]CSV import and export support header (#8487)
1.Add two new types to stream load boker load: csv_with_names and csv_with_name_sand_types
2.Add two new types to export: csv_with_names and csv_with_names_and_types
2022-04-15 13:44:36 +08:00
419ec3b96c [Fix Bug] Fix ehco command not found (#9021) 2022-04-15 13:43:47 +08:00
Pxl
f7a5ff4f1d [Enhancement] [Storage Vectorize] optimize BitmapRangeIterator.next_range() (#9013) 2022-04-15 11:27:03 +08:00
Pxl
90cf8ddf25 [Enhancement][Regression-Test] enhancement for regression-test framework (#8930) 2022-04-15 11:26:45 +08:00
0fa917703e [Bug] Fix some node in vectorized not have V title (#9028)
Co-authored-by: lihaopeng <lihaopeng@baidu.com>
2022-04-15 11:25:52 +08:00
579aee110a [fix](ut)(compile) Fix BE compile bug and FE unit test (#9027)
1. The compile bug is introduced from #8855
2. FE ut bug is introduced from #8848 and #8770
2022-04-14 17:37:41 +08:00
9ac6d23a44 [Feature]support stddev/variance agg functions to window function (#8962) 2022-04-14 12:07:26 +08:00
5e95d99925 [fix](load) fix bug of infinite loop in orc scanner (#9007)
When encounter unqualified data, orc scanner may not be able
to quit correctly.
2022-04-14 11:46:48 +08:00
48c288af94 [refactor](fe) modify warning message of drop backends (#9006)
Modify warning message of drop backends
2022-04-14 11:46:29 +08:00
d916ba8352 [fix](tools) Access denied when creating tpch tables (#9003) 2022-04-14 11:45:53 +08:00
Pxl
d161161767 [refactor](script) remove unused parament on run-be-ut.sh (#9000)
parament -v is not work on run-be-ut.sh now.
2022-04-14 11:45:35 +08:00
91200cc7a6 [fix] fix NPE when initialize GlobalState (#8990)
Introduced from #8695
The context object may be null for StreamLoadPlanner
2022-04-14 11:44:41 +08:00
18daefff80 [refactor](fe): remove unused code (#8986) 2022-04-14 11:44:21 +08:00
e5e0dc421d [refactor] Change ALL OLAPStatus to Status (#8855)
Currently, there are 2 status code in BE, one is common/Status.h,
and the other is olap/olap_define.h called OLAPStatus.
OLAPStatus is just an enum type, it is very simple and could not save many informations,
I will unify these code to common/Status.
2022-04-14 11:43:49 +08:00
8765881d8b [fix](load) wait _send_batch_thread_pool_token rather than shutdown. (#8970)
We can not shutdown _send_batch_thread_pool_token, because _packet_in_flight
has to be clear finally. Otherwise a never ended join on rpc would happen.

It is difficult to handle concurrent problem if a flag setter is not guaranteed to run.
2022-04-14 10:05:14 +08:00
f781669932 [typo](doc) Fix the broken link in the CONTRIBUTING.md (#8876) 2022-04-14 10:04:32 +08:00
a1982c4391 [improvement] Use System.currentTimeMillis() to get the current millisecond (#8828) 2022-04-14 10:03:37 +08:00
4cfb372387 [refactor][Doc] Database admin sql help (#9009)
* Add SQL function Chinese documentation

Add SQL function Chinese documentation

* Add database management SQL help documentation

Add database management SQL help documentation
2022-04-14 09:02:33 +08:00
d90418fff2 Add SQL function Chinese documentation (#8995)
[Refactor][Doc] Add SQL function Chinese documentation
2022-04-14 09:02:09 +08:00