Commit Graph

2994 Commits

Author SHA1 Message Date
8b4ffcc8f7 [typo](docs) fix typo of outfile and export md (#29804) 2024-01-16 18:31:27 +08:00
d47adbb81f [Fix](nereids) Fix cte rewrite by mv failure and predicates compensation by mistake (#29820)
Fix cte rewrite by mv wrongly when query has scalar aggregate but view no
For example as following, it should not be rewritten by materialized view successfully

// materialzied view define
def mv20_1 = """
select
l_shipmode,
l_shipinstruct,
sum(l_extendedprice),
count()
from lineitem
left join
orders on lineitem.L_ORDERKEY = orders.O_ORDERKEY
group by
l_shipmode,
l_shipinstruct;
"""
// query sql
def query20_1 =
"""
select
sum(l_extendedprice),
count()
from lineitem
left join
orders
on lineitem.L_ORDERKEY = orders.O_ORDERKEY
"""

Fix predicates compensation by mistake
For example as following, it can return right result, but it's wrong earlier.

// materialzied view define
def mv7_1 = """
select l_shipdate, o_orderdate, l_partkey, l_suppkey
from lineitem
left join orders
on lineitem.l_orderkey = orders.o_orderkey
where l_shipdate = '2023-12-08' and o_orderdate = '2023-12-08';
"""
// query sql
def query7_1 = """
select l_shipdate, o_orderdate, l_partkey, l_suppkey
from (select * from lineitem where l_shipdate = '2023-10-17' ) t1
left join orders
on t1.l_orderkey = orders.o_orderkey;
"""

and optimize some code usage and add more comment for method
2024-01-16 18:31:27 +08:00
1e225b56ab [fix](doc)Added english translation for monitoring Metric description page (#28435)
Added english translation for monitoring Metric description page
2024-01-16 18:30:23 +08:00
12f936558e [fix](doc) spell errors fixes for debug-point-action (#28152) 2024-01-16 18:30:23 +08:00
88eab1b4b9 [doc](hight-concurrent-point-query) Improve and supplement hight-concurrent-point-query documentation (#29396) 2024-01-16 18:30:23 +08:00
fd4795dace [opt](Nereids) add graph sql function and one arg truncate (#29864) 2024-01-16 18:30:22 +08:00
3ef1229635 [docs](query-accel) refine several statements in docs (#29716) 2024-01-12 13:58:19 +08:00
4d97f8ea75 [enhance](function) support two special format for str_to_date (#29823) 2024-01-12 12:00:32 +08:00
18f850c94f [enhance](auto-partition) forbid null column for auto partition (#29749) 2024-01-12 11:59:52 +08:00
771c66c034 [docs](typo)Update flink-doris-connector.md (#29834) 2024-01-12 11:59:52 +08:00
542a801041 [typo](doc) optimization show processlist (#28342) 2024-01-12 11:59:52 +08:00
697a6a4ba2 [Refactor](admin-stmt) rename some admin-show statestmt (#29492)
The `ADMIN SHOW` statement can not be executed with high version of mysql 8.x jdbc driver.
So I rename these statement, remove the `ADMIN` keywords.

1. ADMIN SHOW CONFIG -> SHOW CONFIG
2. ADMIN SHOW REPLICA -> SHOW REPLICA
3. ADMIN DIAGNOSE TABLET -> SHOW TABLET DIAGNOSIS
4. ADMIN SHOW TABLET -> SHOW TABLET

for compatibility, the old statements are still supported, but not recommend to use.
They will be removed in later version
2024-01-12 11:53:57 +08:00
71b017efee [typo](docs) fix invalid url (#29471)
Co-authored-by: hechao <hechao@selectdb.com>
2024-01-12 11:46:29 +08:00
1d834571ab [doc](fix) K8s doc modify catalog and add helm doc (#29604) 2024-01-12 11:44:21 +08:00
1ca4d8bf10 [improve](docs) add Flink write metrics doc (#29578) 2024-01-12 11:44:21 +08:00
0b51532dfc [doc](release) update release process related to maven (#29467) 2024-01-12 11:44:21 +08:00
78fc38f53e [typo](docs) fix the unit of default value of thrift_connect_timeout_seconds (#29626) 2024-01-12 11:40:08 +08:00
c9e2f1934a [opt](file cache) make the cache queue percentage configurable (#29537) 2024-01-12 11:36:58 +08:00
99754d7460 [improve](routine-load) remove maximum limit of routine load max_batch_interval (#29071) 2024-01-06 20:09:54 +08:00
cd67edef90 [fix](docs) fix chinese description for error code 1051 (#29480)
Co-authored-by: Rohit Satardekar <rohitrs1983@gmail.com>
2024-01-06 17:15:57 +08:00
cc7b9480cf [fix](polixy)support drop policy for user or role (#29488) 2024-01-06 17:14:47 +08:00
75efdd6e1f [fix](http) throw RejectedExecutionException to prevent http hanging by Future (#29607) 2024-01-06 16:17:07 +08:00
2c888667ed [improvement](function) standardize some ip functions' signatures #29614
The signatures of functions in these PRs should be more standard:
#27342,
#25510,
#20936,
including the following:
ipv4numtostring,
ipv4stringtonum,
ipv4stringtonumordefault,
ipv4stringtonumornull,
ipv6numtostring.

This PR will add necessary underscores between the words of each of them,
like changing ipv4numtostring to ipv4_num_to_string.
2024-01-06 16:16:38 +08:00
7402fee1fc [feature](function) support ip function ipv6_string_to_num(_or_default, _or_null), inet6_aton (#28361) 2024-01-05 19:24:45 +08:00
43b19fd99e [docs](timezone) refactor docs of timezone 2024-01-04 20:20:40 +08:00
abd9000368 [Feat](Nereids) add distribute hint to leading hint (#28562)
add distribute hint to leading hint, we can use leading like:
/*+ leading(t1 broadcase{t2 t3}) */ after this commit
2024-01-04 17:51:06 +08:00
e0e34b8f93 [doc](fix) fix dead link of mv doc (#29530) 2024-01-04 17:20:46 +08:00
3cfc1507b2 [doc](mv) add mv docs to sidebar (#29506)
Followup #29370 and #27549
2024-01-04 16:07:46 +08:00
5e39cdf053 [doc](nereids)Add query rewrite by materialized view feature summary and desc doc (#29370) 2024-01-04 10:38:30 +08:00
3b7d5feb84 fix: en doc list partition column must be NOT NULL (#29414) 2024-01-03 23:23:38 +08:00
d6cb2d6d5c [improvement](compaction) start 1 cumu compaction thread each disk by default (#29430) 2024-01-03 20:48:11 +08:00
2386a1ce5a [fix](docs)Fix description for error code 1051 #27751 (#27977) 2024-01-03 18:15:00 +08:00
28ff349381 [doc](fix)invalid character 。 in en docs (#29355)
Co-authored-by: Rohit Satardekar <rohitrs1983@gmail.com>
2024-01-03 12:59:59 +08:00
12286f0a63 [docs][hive-transactional-tables] Add hive transactional tables documents. (#29369) 2024-01-03 12:57:20 +08:00
08353f6027 [Enhance](fe) Iceberg table in HMS catalog supports broker scan (#28107)
My organization uses HMS catalog to accelerate Lake query. Sine we have custom distributed file system and hard to integrate to FE / BE, we introduce HMS Catalog broker scan support (#24830) and implement custom distributed file system adaption in broker.

We want to expand the scope of use to Iceberg table scan in HMS Catalog. This PR introduces broker-scan-related `IcebergBrokerIO`, `BrokerInputFile`, `BrokerInputStream` for Iceberg table scan
2024-01-03 11:29:12 +08:00
067a9a3a22 [opt](ES catalog)Add more description for limitations of docvalue_scan (#29420)
> [ignore_above](https://www.elastic.co/guide/en/elasticsearch/reference/current/ignore-above.html)
Do not index any string longer than this value. Defaults to 2147483647 so that all values would be accepted. Please however note that default dynamic mapping rules create a sub keyword field that overrides this default by setting ignore_above: 256.

When the field value is longer than the limitation, we will get an empty result.
The solution is turn off `enable_docvalue_scan`, to get data from `_source` field.
2024-01-03 11:17:48 +08:00
f6443efe1a [doc](fix)fix kill doc error and add example (#29313) 2024-01-02 14:05:19 +08:00
bf6488e518 [fix](doc) show catalog example output fix (#29150)
Co-authored-by: Rohit Satardekar <rohitrs1983@gmail.com>
2024-01-02 14:05:05 +08:00
216b53058d [doc](mtmv)mtmv doc (#27549) 2024-01-01 17:46:21 +08:00
6c74313f60 [Fix](ut)(show) added UT cases for show backup stmt (#28604)
* Added UT for show backup
 * fixed some toSql() space and missing CLAUSE
 * Updated Doc with relevant syntax
2023-12-31 15:49:57 +08:00
74202fe7e2 [Enhancement] support user custom defined privite settings,xml for build fe (#29015)
Issue Number: close #29014
2023-12-31 13:42:56 +08:00
e91f6cb069 [chore](docs) straight_join is not supported (#28268) 2023-12-30 21:34:04 +08:00
aa4b3d02f1 [bug]https://github.com/apache/doris/issues/29149 (#29155)
Co-authored-by: 86157 <mapengfei@lnxjit.commapengfei@lnxjit.com>
2023-12-30 21:30:59 +08:00
018d8b1326 [fix](doc) spell errors fixes and align with code log for check-rpc-channel. (#28151) 2023-12-30 20:56:56 +08:00
4e56adee15 [improvement](docs) add Json load case doc (#29001) 2023-12-30 00:02:43 +08:00
236276e9c1 [typo](docs) fix lakehouse doc 404 (#29299) 2023-12-29 16:27:48 +08:00
xy
4fc5860a7c [Fix](doc)Fix word spelling errors (#29268)
Co-authored-by: xingying01 <xingying01@corp.netease.com>
2023-12-29 14:15:37 +08:00
a57ad36c4e [fix](docs) Update Link for 404 page of dev docs (#29213) 2023-12-29 11:37:50 +08:00
0562999f91 [fix](doc) spell errors fixes and align with code log for memory tracker. (#28000)
Spell corrected for LastestSuccessChannelCache and aligned that with the docs
2023-12-28 11:12:35 +08:00
f4c5ce260b [fix](statistics)Fix rowCount==0 while analyzing bug (#28969)
Sample analyzing need to get row count by using table.getRowCount(). This method is not updated in real time, which may cause the sample task to scan whole table.
This pr is to fix this. Set the flag that indicate the analyze job is for an empty table and skip scan the table. Meanwhile, don't reset updatedRows in this case.

Set hugeTableAutoAnalyzeIntervalInMillis = 0 because all default huge table size has been set to 0.
2023-12-27 23:04:37 +08:00