hf200012 opened a new pull request #8743: URL: https://github.com/apache/incubator-doris/pull/8743
I started a discussion on this before, you can check it in the mail group https://lists.apache.org/thread/o770bc3k623kyfks2mzkt21qsc4g6328 Some content needs to be added. I just established a directory structure here, and some of the original content has been migrated, but it needs to be reorganized. In order to facilitate you to run and debug locally, I have migrated the related .vuepress under the original docs. After finishing, you only need to change en, zh-CN and en.js and zh-CN under `.vuepress/sidebar/` .js go to the original corresponding directory The reason why .vuepress is transplanted is for everyone to be more intuitive when arranging documents according to the new directory structure, and to know the content of each block, otherwise it may not be clear, and this will be removed after finishing In the data import scenario, in order to take into account the previous user's viewing habits, the import is divided into two ways to organize: 1. According to the usage scenario: This will give the user more clear guidance. For example, if the user is the data source of kafka, then the user can directly select the routine load 2. According to the import method: it is the introduction of the various import methods we provided before In the local debugging execution, switch to the v2 directory and execute the following command: ```` npm install npm run dev ```` then through the browser http://ip:port/zh-CN http://ip:port/en The specific directory structure is as follows (the Chinese directory is used as an example to show below): ```` zh-CN ├── README.md ├── admin-manual │ ├── cluster-admin │ │ └── doris-ha.md │ ├── config │ │ ├── be-config.md │ │ ├── fe-config.md │ │ └── user-property.md │ ├── data-admin │ │ ├── backup.md │ │ ├── delete-recover.md │ │ └── restore.md │ ├── elastic-expansion.md │ ├── ldap.md │ ├── maint-monitor │ │ ├── be-olap-error-code.md │ │ ├── disk-capacity.md │ │ ├── doris-error-code.md │ │ ├── metadata-operation.md │ │ ├── monitor-alert.md │ │ ├── monitor-metrics │ │ │ ├── be-metrics.md │ │ │ └── fe-metrics.md │ │ ├── tablet-meta-tool.md │ │ ├── tablet-repair-and-balance.md │ │ └── tablet-restore-tool.md │ ├── multi-tenant.md │ ├── optimization.md │ ├── query-profile.md │ ├── upgrade.md │ └── user-privilege.md ├── advanced │ ├── bucket-shuffle-join.md │ ├── cache │ │ ├── partition-cache.md │ │ └── query-cache.md │ ├── colocation-join.md │ ├── materialized-view.md │ ├── orthogonal-bitmap-manual.md │ ├── orthogonal-hll-manual.md │ ├── partition │ │ ├── dynamic-partition.md │ │ └── table-tmp-partition.md │ ├── runtime-filter.md │ ├── schema-change.md │ ├── small-file-mgr.md │ ├── time-zone.md │ └── variables.md ├── benchmark │ ├── ssb.md │ └── tpc-h.md ├── data-operate │ ├── export │ │ ├── export-manual.md │ │ ├── export_with_mysql_dump.md │ │ └── outfile.md │ ├── import │ │ ├── import-scenes │ │ │ ├── external-storage-load.md │ │ │ ├── external-table-load.md │ │ │ ├── jdbc-load.md │ │ │ ├── kafka-load.md │ │ │ ├── load-atomicity.md │ │ │ ├── load-data-convert.md │ │ │ ├── load-strict-mode.md │ │ │ ├── local-file-load.md │ │ │ └── rdbms-load.md │ │ ├── import-way │ │ │ ├── binlog-load-manual.md │ │ │ ├── broker-load-manual.md │ │ │ ├── insert-into-manual.md │ │ │ ├── load-json-format.md │ │ │ ├── routine-load-manual.md │ │ │ ├── s3-load-manual.md │ │ │ ├── spark-load-manual.md │ │ │ └── stream-load-manual.md │ │ └── load-manual.md │ └── update-delete │ ├── batch-delete-manual.md │ ├── delete-manual.md │ ├── sequence-column-manual.md │ └── update.md ├── data-table │ ├── advance-usage.md │ ├── basic-usage.md │ ├── best-practice.md │ ├── data-model.md │ ├── data-partition.md │ ├── hit-the-rollup.md │ └── index │ ├── bitmap-index.md │ ├── bloomfilter.md │ └── prefix-index.md ├── doris-manager ├── ecosystem │ ├── audit-plugin.md │ ├── datax.md │ ├── external-table │ │ ├── doris-on-es.md │ │ ├── hive-bitmap-udf.md │ │ ├── hive-of-doris.md │ │ ├── iceberg-of-doris.md │ │ └── odbc-of-doris.md │ ├── flink-doris-connector.md │ ├── logstash.md │ ├── plugin-development-manual.md │ ├── seatunnel │ │ ├── flink-sink.md │ │ └── spark-sink.md │ ├── spark-doris-connector.md │ └── udf │ ├── contribute-udf.md │ ├── native-user-defined-function.md │ └── remote-user-defined-function.md ├── faq │ ├── data-faq.md │ ├── install-faq.md │ └── sql-faq.md ├── get-starting │ └── get-starting.md ├── install │ ├── docker-install.md │ ├── install-deploy.md │ └── source-install │ ├── compilation-arm.md │ ├── compilation-with-ldb-toolchain.md │ └── compilation.md ├── sql-manual │ ├── sql-functions │ │ ├── aggregate-functions │ │ │ ├── approx_count_distinct.md │ │ │ ├── avg.md │ │ │ ├── bitmap_union.md │ │ │ ├── count.md │ │ │ ├── group_concat.md │ │ │ ├── hll_union_agg.md │ │ │ ├── max.md │ │ │ ├── min.md │ │ │ ├── percentile.md │ │ │ ├── percentile_approx.md │ │ │ ├── stddev.md │ │ │ ├── stddev_samp.md │ │ │ ├── sum.md │ │ │ ├── topn.md │ │ │ ├── var_samp.md │ │ │ └── variance.md │ │ ├── bitmap-functions │ │ │ ├── bitmap_and.md │ │ │ ├── bitmap_and_count.md │ │ │ ├── bitmap_and_not.md │ │ │ ├── bitmap_and_not_count.md │ │ │ ├── bitmap_contains.md │ │ │ ├── bitmap_empty.md │ │ │ ├── bitmap_from_string.md │ │ │ ├── bitmap_has_all.md │ │ │ ├── bitmap_has_any.md │ │ │ ├── bitmap_hash.md │ │ │ ├── bitmap_intersect.md │ │ │ ├── bitmap_max.md │ │ │ ├── bitmap_min.md │ │ │ ├── bitmap_not.md │ │ │ ├── bitmap_or.md │ │ │ ├── bitmap_or_count.md │ │ │ ├── bitmap_subset_in_range.md │ │ │ ├── bitmap_subset_limit.md │ │ │ ├── bitmap_to_string.md │ │ │ ├── bitmap_union.md │ │ │ ├── bitmap_xor.md │ │ │ ├── bitmap_xor_count.md │ │ │ ├── orthogonal_bitmap_intersect.md │ │ │ ├── orthogonal_bitmap_intersect_count.md │ │ │ ├── orthogonal_bitmap_union_count.md │ │ │ ├── sub_bitmap.md │ │ │ └── to_bitmap.md │ │ ├── bitwise-functions │ │ │ ├── bitand.md │ │ │ ├── bitnot.md │ │ │ ├── bitor.md │ │ │ └── bitxor.md │ │ ├── cast.md │ │ ├── conditional-functions │ │ │ ├── case.md │ │ │ ├── coalesce.md │ │ │ ├── if.md │ │ │ ├── ifnull.md │ │ │ └── nullif.md │ │ ├── date-time-functions │ │ │ ├── convert_tz.md │ │ │ ├── curdate.md │ │ │ ├── current_timestamp.md │ │ │ ├── curtime.md │ │ │ ├── date_add.md │ │ │ ├── date_format.md │ │ │ ├── date_sub.md │ │ │ ├── datediff.md │ │ │ ├── day.md │ │ │ ├── dayname.md │ │ │ ├── dayofmonth.md │ │ │ ├── dayofweek.md │ │ │ ├── dayofyear.md │ │ │ ├── from_days.md │ │ │ ├── from_unixtime.md │ │ │ ├── hour.md │ │ │ ├── makedate.md │ │ │ ├── minute.md │ │ │ ├── month.md │ │ │ ├── monthname.md │ │ │ ├── now.md │ │ │ ├── second.md │ │ │ ├── str_to_date.md │ │ │ ├── time_round.md │ │ │ ├── timediff.md │ │ │ ├── timestampadd.md │ │ │ ├── timestampdiff.md │ │ │ ├── to_date.md │ │ │ ├── to_days.md │ │ │ ├── unix_timestamp.md │ │ │ ├── utc_timestamp.md │ │ │ ├── week.md │ │ │ ├── weekday.md │ │ │ ├── weekofyear.md │ │ │ ├── year.md │ │ │ └── yearweek.md │ │ ├── digital-masking.md │ │ ├── encrypt-digest-functions │ │ │ ├── aes.md │ │ │ ├── md5.md │ │ │ ├── md5sum.md │ │ │ ├── sm3.md │ │ │ ├── sm3sum.md │ │ │ └── sm4.md │ │ ├── hash-functions │ │ │ └── murmur_hash3_32.md │ │ ├── json-functions │ │ │ ├── get_json_double.md │ │ │ ├── get_json_int.md │ │ │ ├── get_json_string.md │ │ │ ├── json_array.md │ │ │ ├── json_object.md │ │ │ └── json_quote.md │ │ ├── math-functions │ │ │ ├── conv.md │ │ │ └── pmod.md │ │ ├── spatial-functions │ │ │ ├── st_astext.md │ │ │ ├── st_circle.md │ │ │ ├── st_contains.md │ │ │ ├── st_distance_sphere.md │ │ │ ├── st_geometryfromtext.md │ │ │ ├── st_linefromtext.md │ │ │ ├── st_point.md │ │ │ ├── st_polygon.md │ │ │ ├── st_x.md │ │ │ └── st_y.md │ │ ├── string-functions │ │ │ ├── append_trailing_char_if_absent.md │ │ │ ├── ascii.md │ │ │ ├── bit_length.md │ │ │ ├── char_length.md │ │ │ ├── concat.md │ │ │ ├── concat_ws.md │ │ │ ├── ends_with.md │ │ │ ├── find_in_set.md │ │ │ ├── hex.md │ │ │ ├── instr.md │ │ │ ├── lcase.md │ │ │ ├── left.md │ │ │ ├── length.md │ │ │ ├── like │ │ │ ├── locate.md │ │ │ ├── lower.md │ │ │ ├── lpad.md │ │ │ ├── ltrim.md │ │ │ ├── money_format.md │ │ │ ├── null_or_empty.md │ │ │ ├── regexp │ │ │ ├── repeat.md │ │ │ ├── replace.md │ │ │ ├── reverse.md │ │ │ ├── right.md │ │ │ ├── rpad.md │ │ │ ├── split_part.md │ │ │ ├── starts_with.md │ │ │ ├── strleft.md │ │ │ ├── strright.md │ │ │ ├── substring.md │ │ │ └── unhex.md │ │ ├── table-functions │ │ │ ├── explode-bitmap.md │ │ │ ├── explode-json-array.md │ │ │ └── explode-split.md │ │ └── window-function.md │ └── sql-reference │ ├── Account\ Management │ │ ├── CREATE\ ROLE.md │ │ ├── CREATE\ USER.md │ │ ├── DROP\ ROLE.md │ │ ├── DROP\ USER.md │ │ ├── GRANT.md │ │ ├── REVOKE.md │ │ ├── SET\ PASSWORD.md │ │ ├── SET\ PROPERTY.md │ │ ├── SHOW\ GRANTS.md │ │ └── SHOW\ ROLES.md │ ├── Administration │ │ ├── ADMIN\ CANCEL\ REPAIR.md │ │ ├── ADMIN\ CHECK\ TABLET.md │ │ ├── ADMIN\ CLEAN\ TRASH.md │ │ ├── ADMIN\ COMPACT.md │ │ ├── ADMIN\ REPAIR.md │ │ ├── ADMIN\ SET\ CONFIG.md │ │ ├── ADMIN\ SET\ REPLICA\ STATUS.md │ │ ├── ADMIN\ SHOW\ CONFIG.md │ │ ├── ADMIN\ SHOW\ REPLICA\ DISTRIBUTION.md │ │ ├── ADMIN\ SHOW\ REPLICA\ STATUS.md │ │ ├── ALTER\ CLUSTER.md │ │ ├── ALTER\ SYSTEM.md │ │ ├── CANCEL\ DECOMMISSION.md │ │ ├── CREATE\ CLUSTER.md │ │ ├── CREATE\ FILE.md │ │ ├── DROP\ CLUSTER.md │ │ ├── DROP\ FILE.md │ │ ├── ENTER.md │ │ ├── INSTALL\ PLUGIN.md │ │ ├── LINK\ DATABASE.md │ │ ├── MIGRATE\ DATABASE.md │ │ ├── SET\ LDAP_ADMIN_PASSWORD.md │ │ ├── SHOW\ BACKENDS.md │ │ ├── SHOW\ BROKER.md │ │ ├── SHOW\ FILE.md │ │ ├── SHOW\ FRONTENDS.md │ │ ├── SHOW\ FULL\ COLUMNS.md │ │ ├── SHOW\ INDEX.md │ │ ├── SHOW\ MIGRATIONS.md │ │ ├── SHOW\ PLUGINS.md │ │ ├── SHOW\ TABLE\ STATUS.md │ │ ├── SHOW\ TRASH.md │ │ ├── SHOW\ VIEW.md │ │ └── UNINSTALL\ PLUGIN.md │ ├── Data\ Definition │ │ ├── ALTER\ DATABASE.md │ │ ├── ALTER\ TABLE.md │ │ ├── ALTER\ VIEW.md │ │ ├── BACKUP.md │ │ ├── CANCEL\ ALTER.md │ │ ├── CANCEL\ BACKUP.md │ │ ├── CANCEL\ RESTORE.md │ │ ├── CREATE\ DATABASE.md │ │ ├── CREATE\ ENCRYPTKEY.md │ │ ├── CREATE\ INDEX.md │ │ ├── CREATE\ MATERIALIZED\ VIEW.md │ │ ├── CREATE\ REPOSITORY.md │ │ ├── CREATE\ RESOURCE.md │ │ ├── CREATE\ TABLE\ LIKE.md │ │ ├── CREATE\ TABLE.md │ │ ├── CREATE\ VIEW.md │ │ ├── DROP\ DATABASE.md │ │ ├── DROP\ ENCRYPTKEY.md │ │ ├── DROP\ INDEX.md │ │ ├── DROP\ MATERIALIZED\ VIEW.md │ │ ├── DROP\ REPOSITORY.md │ │ ├── DROP\ RESOURCE.md │ │ ├── DROP\ TABLE.md │ │ ├── DROP\ VIEW.md │ │ ├── HLL.md │ │ ├── RECOVER.md │ │ ├── REFRESH\ DATABASE.md │ │ ├── REFRESH\ TABLE.md │ │ ├── RESTORE.md │ │ ├── SHOW\ ENCRYPTKEYS.md │ │ ├── SHOW\ RESOURCES.md │ │ ├── TRUNCATE\ TABLE.md │ │ ├── create-function.md │ │ ├── drop-function.md │ │ └── show-functions.md │ ├── Data\ Manipulation │ │ ├── BEGIN.md │ │ ├── BROKER\ LOAD.md │ │ ├── CANCEL\ LOAD.md │ │ ├── CREATE\ SYNC\ JOB.md │ │ ├── DELETE.md │ │ ├── EXPORT.md │ │ ├── GROUP\ BY.md │ │ ├── LOAD.md │ │ ├── MINI\ LOAD.md │ │ ├── MULTI\ LOAD.md │ │ ├── OUTFILE.md │ │ ├── PAUSE\ ROUTINE\ LOAD.md │ │ ├── PAUSE\ SYNC\ JOB.md │ │ ├── RESUME\ ROUTINE\ LOAD.md │ │ ├── RESUME\ SYNC\ JOB.md │ │ ├── ROUTINE\ LOAD.md │ │ ├── SHOW\ ALTER.md │ │ ├── SHOW\ BACKUP.md │ │ ├── SHOW\ CREATE\ FUNCTION.md │ │ ├── SHOW\ CREATE\ ROUTINE\ LOAD.md │ │ ├── SHOW\ DATA\ SKEW.md │ │ ├── SHOW\ DATA.md │ │ ├── SHOW\ DATABASE\ ID.md │ │ ├── SHOW\ DATABASES.md │ │ ├── SHOW\ DELETE.md │ │ ├── SHOW\ DYNAMIC\ PARTITION\ TABLES.md │ │ ├── SHOW\ EXPORT.md │ │ ├── SHOW\ LOAD.md │ │ ├── SHOW\ PARTITION\ ID.md │ │ ├── SHOW\ PARTITIONS.md │ │ ├── SHOW\ PROPERTY.md │ │ ├── SHOW\ REPOSITORIES.md │ │ ├── SHOW\ RESTORE.md │ │ ├── SHOW\ ROUTINE\ LOAD\ TASK.md │ │ ├── SHOW\ ROUTINE\ LOAD.md │ │ ├── SHOW\ SNAPSHOT.md │ │ ├── SHOW\ STREAM\ LOAD.md │ │ ├── SHOW\ SYNC\ JOB.md │ │ ├── SHOW\ TABLE\ CREATION.md │ │ ├── SHOW\ TABLE\ ID.md │ │ ├── SHOW\ TABLES.md │ │ ├── SHOW\ TABLET.md │ │ ├── SHOW\ TABLETS.md │ │ ├── SHOW\ TRANSACTION.md │ │ ├── SHOW-LAST-INSERT.md │ │ ├── SPARK\ LOAD.md │ │ ├── STOP\ ROUTINE\ LOAD.md │ │ ├── STOP\ SYNC\ JOB.md │ │ ├── STREAM\ LOAD.md │ │ ├── UPDATE.md │ │ ├── alter-routine-load.md │ │ ├── insert.md │ │ └── lateral-view.md │ ├── Data\ Types │ │ ├── BIGINT.md │ │ ├── BITMAP.md │ │ ├── BOOLEAN.md │ │ ├── CHAR.md │ │ ├── DATE.md │ │ ├── DATETIME.md │ │ ├── DECIMAL.md │ │ ├── DOUBLE.md │ │ ├── FLOAT.md │ │ ├── HLL.md │ │ ├── INT.md │ │ ├── LARGEINT.md │ │ ├── SMALLINT.md │ │ ├── STRING.md │ │ ├── TINYINT.md │ │ └── VARCHAR.md │ └── Utility │ └── DESCRIBE.md └── summary ├── basic-summary.md └── system-architecture.md ``` # Proposed changes Issue Number: close #xxx ## Problem Summary: Describe the overview of changes. ## Checklist(Required) 1. Does it affect the original behavior: (Yes/No/I Don't know) 2. Has unit tests been added: (Yes/No/No Need) 3. Has document been added or modified: (Yes/No/No Need) 4. Does it need to update dependencies: (Yes/No) 5. Are there any changes that cannot be rolled back: (Yes/No) ## Further comments If this is a relatively large or complex change, kick off the discussion at [[email protected]](mailto:[email protected]) by explaining why you chose the solution you did and what alternatives you considered, etc... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
