Commit Graph

2313 Commits

Author SHA1 Message Date
880e2d8373 [typo](doc) update spark connnector version compatibility instructions (#20477) 2023-06-06 23:33:27 +08:00
43ae2c59c3 [typo](doc) Fixed some description of date_format function documentation (#20504) 2023-06-06 23:32:34 +08:00
5a749e6f4d [doc](catalog-hive) Add the property of hive catalog with kerberos. (#20502)
Co-authored-by: smallhibiscus <844981280>
2023-06-06 23:30:19 +08:00
17259672ff [typo](docs)modify http_port to webserver_port (#20447) 2023-06-06 16:08:45 +08:00
a3bcdf7b44 [docs](docs)Fix docker example doc (#20472)
fix run-docker-cluster docs docker volumes:conf
2023-06-06 15:24:32 +08:00
1f032a551d [Improve](array-functions) support array first function (#20397)
add array_first(lambda, [1,2,3,null]) function for doris
2023-06-06 12:08:46 +08:00
d02737a293 [feature](struct-type) support struct_element function (#19045)
This commit support a function allows return a field column in named struct column.
Since the function can return any type, this commit also supports ANY_STRUCT_TYPE
and ANY_ELEMENT_TYPE.
2023-06-06 10:44:08 +08:00
e576d533b2 [typo](doc)Remove useless hints (#20457)
Co-authored-by: hechao <hechao@selectdb.com>
2023-06-05 21:13:52 +08:00
d392791114 [Chore](docs)Remove the Committer-related description in the contribution guide (#20418) 2023-06-05 12:03:48 +08:00
a6d8115cbc [Improvement](planner) expand sql-block-rule to make it can be used on all kinds of sql stmt (#19540)
Currently, sql-block-rule can only be used for query statements, while it's useful for other stmts like insert / delete / alter / drop etc. Now remove the limitation and expand its using scenario.
2023-06-05 11:01:43 +08:00
26201dfdd1 [typo](doc) Fixed typos in bitmap_subset_limit.md (#19582) 2023-06-05 09:15:44 +08:00
5b026df60d [typo](doc) Fixed typos in hive.md (#19457) 2023-06-03 21:24:07 +08:00
dd958b9745 [typo](doc)Remove the description of the BE configuration 'serialize_batch' which has been removed (#20163) 2023-06-03 21:23:25 +08:00
4c9b94a726 [typo](doc)Update runtime-filter.md (#20292) 2023-06-03 21:22:28 +08:00
282e3a3e85 [typo](doc)Update compilation-general.md (#20261)
Add some explanations about docker run parameter
2023-06-03 17:32:12 +08:00
ebc12ac55e [typo](doc)Update compilation-general.md (#20262)
Add some explanations about docker run parameter
2023-06-03 17:31:41 +08:00
4c2de40c17 [typo](doc)Update stream-load-manual.md (#20277)
Modify the sequential label
2023-06-03 17:31:21 +08:00
bc830d611a [docs](auth) forbid 127.0.0.1 passwd free login (#19096) 2023-06-03 17:30:21 +08:00
ad5e34ab9c [Doc](statistics) supplement stats doc (regression test and automatic collection) (#20071) 2023-06-03 17:25:33 +08:00
ce3be0c0a7 [docs](load-balancing):delete duplicate sentences and improve the documentation description (#20297) 2023-06-03 17:02:16 +08:00
160eae80c0 [docs](workload-group) add user binding workload group docs (#20382) 2023-06-03 17:01:31 +08:00
997f7ecc07 [typo](doc)Add a demo of export minio (#20323) 2023-06-03 16:59:32 +08:00
ffadaa4935 [improvement](inverted index) skip write index on load and generate index on compaction (#20325) 2023-06-03 16:03:21 +08:00
a389a51a61 [typo](docs)clearly describe the rename syntax (#20335) 2023-06-02 22:48:25 +08:00
0e06f15c87 [DOCS](data-types) remove old types (#20375) 2023-06-02 22:47:22 +08:00
0b86d07c0c [Docs](docs) Update BE http documents (#17604) 2023-06-02 18:01:44 +08:00
a20a6d2bea [refactor](jdbc catalog) Refactor the JdbcClient code (#20109)
This PR does the following:

1. This PR is a substantial refactor of the JDBC client architecture. The previous monolithic JDBC client has been refactored into an abstract base class `JdbcClient`, and a set of database-specific subclasses (e.g., `JdbcMySQLClient`, `JdbcOracleClient`, etc.), and the JdbcClient required config, abstract into an object. This allows for improved modularity, easier addition of support for new databases, and cleaner, more maintainable code. This change is backward-compatible and does not affect existing functionality.
2. As a result of client refactoring, OceanBaseClient can automatically recognize the mode of operation as MySQL or Oracle, so we cancel the oceanbase_mode property in the Jdbc Catalog, but due to the cancellation of the property, When creating a single OceanBase Jdbc Table, the table type needs to be filled in as oceanbase(mysql mode) or oceanbase_oracle(oracle_mode). The above work is a change in the usage behavior, please note.
3. For the PostgreSQL Jdbc Catalog, I did two things:

      1.   The adaptation to MATERIALIZED VIEW and FOREIGN TABLE is added
      2.   Fixed reading jsonb, which had been incorrectly changed to json in a previous PR

4. fix some jdbc catalog test case
5. modify oceanbase jdbc doc

And,Thanks @wolfboys for the guidance
2023-06-02 17:58:10 +08:00
c2121c831a [typo](docs) Update the help create command display (#20357) 2023-06-02 17:57:23 +08:00
4395fb70c4 [Enhancement](tvf) Backends tvf supports authentication (#20333)
Add authentication for backends tvf.
2023-06-02 17:53:44 +08:00
d68f3f3b3d [Feature](array-functions)improve array functions for array_last_index (#20294)
Now we just support array_first_index for lambda input , but no array_last_index
2023-06-02 13:54:03 +08:00
e32eba8fdf [refactor](stats) Persist status of analyze task to FE meta data (#20264)
1. In the past, we use a BE table named `analysis_jobs` to persist the status of analyze jobs/tasks, however there are many flaws such as, if BE crashed analyze job/task would failed however the status of analyze job/task couldn't get updated.
2. Support `DROP ANALYZE JOB [job_id]` to delete analyze job
3. Support `SHOW ANALYZE TASK STATUS [job_id] ` to  get the task status of specific job
4. Restrict the execute condition of auto analyze, only when  the  last execution of auto analyze job finished a while ago could be executed again
5. Support analyze whole DB
2023-06-02 12:33:31 +08:00
62c188d9a2 [typo](docs) fix release note 2.0 zh url (#20320) 2023-06-02 11:45:24 +08:00
c6b6dcdbc7 [Docs](inverted index) update docs for inverted index parser_mode and match_phrase support (#20266) 2023-06-02 11:38:04 +08:00
5a3b97bbf2 [enhancement](struct-type)support comment for struct field (#20200)
support comment for struct field
2023-06-02 10:29:56 +08:00
Bin
075635ee50 [typo](docs)Correct the getting started document (#20245) 2023-06-02 09:58:26 +08:00
ecdc5124be [feature-wip](duplicate-no-keys) schame change support for duplicate no keys (#19326) 2023-06-02 09:22:41 +08:00
0df073699d [fix](planner)Fix missing kw for workload #20319
1 add usage docment for Workload Group query queue;
2 Fix missing KW for workload, this may cause create workload group failed.
2023-06-02 09:04:22 +08:00
e416c4d95f [fix](docs)Correct the year and month format placeholder to lower case (#20210) 2023-06-01 16:14:00 +08:00
519f01133a [feature](decimal)support cast rounding half up and div precision increment in decimalv3. (#19811) 2023-06-01 13:09:58 +08:00
a1e3f49fb5 [enhancement](ldap) Support refresh ldap cache (#20183)
Support refreshing ldap cache:
refresh ldap all;
refresh ldap;
refresh ldap for user1;
Support for caching non-existent ldap users.
When logging in with a doris user that does not exist in the Ldap service after ldap is enabled, avoid accessing the ldap service every time in scenarios such as show databases; that require a lot of authentication.
2023-05-31 15:38:12 +08:00
f9dfcb923d [Enhancement] Change Create Resource Group Grammar (#20249) 2023-05-31 15:23:24 +08:00
54d1b16116 [docs](spark-doris-connector): modify the link of spark-doris-connector (#20159) 2023-05-31 09:42:00 +08:00
accaff1026 [Feature](compaction) wip: single replica compaction (#19237)
Currently, compaction is executed separately for each backend, and the reconstruction of the index during compaction leads to high CPU usage. To address this, we are introducing single replica compaction, where a specific primary replica is selected to perform compaction, and the remaining replicas fetch the compaction results from the primary replica.

The Backend (BE) requests replica information for all peers corresponding to a tablet from the Frontend (FE). This information includes the host where the replica is located and the replica_id. By calculating hash(replica_id), the replica with the smallest hash value is responsible for executing compaction, while the remaining replicas are responsible for fetching the compaction results from this replica.
The compaction task producer thread, before submitting a compaction task, checks whether the local replica should fetch from its peer. If it should, the task is then submitted to the single replica compaction thread pool.
When performing single replica compaction, the process begins by requesting rowset versions from the target replica. These rowset_versions are then compared with the local rowset versions. The first version that can be fetched is selected.
2023-05-30 21:12:48 +08:00
a220b1c34a [typo](docs) fix oceanbase jdbc catalog error (#20197) 2023-05-30 14:18:16 +08:00
5351153b04 [doc](fix)Modified the description about trino #20174 2023-05-30 13:14:45 +08:00
9eccbdbef3 [typo](docs) fix fqdn doc error (#20171) 2023-05-29 21:39:42 +08:00
198433b131 [typo](config)Remove FE config max_conn_per_user (#20122)
---------

Co-authored-by: Yijia Su <suyijia@selectdb.com>
2023-05-29 17:20:36 +08:00
Bin
d7e0a52bde [typo](doc)correct the misspelled word and the improper word (#20149) 2023-05-29 15:07:30 +08:00
5f9c6e076f [Fix](load)Make insert timeout accurate in show load statistics (#20068) 2023-05-28 21:19:06 +08:00
Bin
142f884753 [typo](docs)Best usage document correction. #20142 2023-05-28 18:56:17 +08:00