Commit Graph

3016 Commits

Author SHA1 Message Date
ead3b4ac1d [feature](function) support ip function is_ipv4_compat, is_ipv4_mapped (#29954) 2024-01-23 10:07:51 +08:00
7180ca707c [doc](ranger) update ranger doc #30101
add some descriptions for ranger
2024-01-23 10:07:51 +08:00
93e039d579 [pipelineX](DOC) Add pipelineX doc (#30065) 2024-01-19 15:48:56 +08:00
0ccd706a30 [Enhancement](Jdbc Catalog) Map Jdbc Catalog JSON Type to String for Improved Performance and Compatibility (#30035)
This PR proposes mapping external catalog JSON types to String instead of JsonB in Apache Doris. This change is motivated by the realization that JDBC retrieves JSON data as a String JSON string, regardless of its storage format (Json(String) or Json(Binary)). Mapping to String streamlines data retrieval, simplifies write-backs, and ensures compatibility with all JSON(String) and JSON(Binary) functions, despite potentially misleading displays of JSON data as Strings in Doris. This approach avoids the performance overhead and complexity of converting each row of data from JsonB to String, making the process more efficient and elegant.

About Upgrade
To ensure query compatibility with existing Catalogs in the upgraded version,we currently still retain the capability to query external JSON types as JSONB. However, once you upgrade to the new version and either refresh the Catalog or create a new one, all external JSON types will be treated as Strings. To ensure consistent behavior,and possible future removal of support for JSON as JSONB query code, it is highly recommended that you manually refresh your Catalog as soon as possible after upgrading to the new version.
2024-01-18 12:03:07 +08:00
Pxl
30378f9bbc [Chore](config) remove some unused config (#29983)
remove some unused config
2024-01-18 12:03:07 +08:00
143df9f414 [typo](docs) fix typo (#30031)
Co-authored-by: hechao <hechao@selectdb.com>
2024-01-18 10:04:21 +08:00
b758286b57 [doc](Variant) add doc for Variant type (#28951) 2024-01-18 09:00:42 +08:00
3f2a794c2e [refactor](insert) remove unused insert code in FE #29924 2024-01-18 09:00:32 +08:00
2dcdf07dd4 [Feature](profile)Support active_queries TVF (#29999) 2024-01-16 21:25:02 +08:00
d658a44cef [improvement](catalog) Change the push-down parameters of the predicate function of the table query SQL into variables (#30028)
In this PR, we will control whether the external data source query is a push-down function parameter in the filter condition, changing the enable_fun_pushdown of fe conf to the enable_ext_func_pred_pushdown of the variable
2024-01-16 21:14:35 +08:00
2fa511f80e [improve](multi-table-load) avoid plan and execute too many plan at once (#29951) 2024-01-16 21:14:35 +08:00
2916745cf2 [Chore](arm) Support auto-SIMD on arm and refactor compilation docs (#29956) 2024-01-16 18:49:04 +08:00
74991c4af2 [bugfix](paimon)support native and jni to read paimon for minio/cos #29933 2024-01-16 18:49:01 +08:00
75cafa8672 [enhancement](jdbc catalog) Enhance function pushdown of Jdbc Oracle Catalog (#29972) 2024-01-16 18:46:19 +08:00
4d6de1f181 [opt](invert index) optimize the code structure of inverted index queries (#29771) 2024-01-16 18:46:19 +08:00
2297a5b6fc [doc](statistics)Update docs for statistics (#29926)
Update docs for statistics
2024-01-16 18:46:19 +08:00
3f20e28f3d [doc](jvm) Correct the jvm parameters of be (#29958) 2024-01-16 18:37:44 +08:00
54d23e0f8e [typo](docs) fix default value display exception (#29859)
---------

Co-authored-by: hechao <hechao@selectdb.com>
2024-01-16 18:37:44 +08:00
fd66ce0928 [enhancement](docs) Clarify the requirement for JDK exact version 8 in install guide (#29921)
* docs: Clarified the requirement for JDK exact version 8

* fix: Update code
2024-01-16 18:37:44 +08:00
612186e657 [doc](sql-dialect)(audit) add doc for sql dialect and audit plugin (#29775) 2024-01-16 18:33:51 +08:00
bbfc3d037e [doc](auto-inc) Add user oriented doc for auto increment column (#29230) 2024-01-16 18:31:59 +08:00
56f0dc77fe [doc](unique key) update description for unique key in data model doc (#28902) 2024-01-16 18:31:27 +08:00
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