report errors
Reason: no partition for this tuple.tuple=…
analysis
The data in Kafka comes in, but the dynamic partition table does not create the time partition of this data
Solution:
#Adding a partition to a dynamic partition
## Dynamic partition to static partition
ALTER TABLE ods_log_outlog_course_ydyjs_app SET ("dynamic_partition.enable" = "false");
## Add uncreated partitions
ALTER TABLE course_log.ods_log_outlog_course_ydyjs_app
ADD PARTITION p20220307 VALUES [("2022-03-07"), ("2022-03-08"));
## Add uncreated partitions
ALTER TABLE course_log.ods_log_outlog_course_ydyjs_app
ADD PARTITION p20220308 VALUES [("2022-03-08"), ("2022-03-09"));
## Check if the creation is successful
show partitions from ods_log_outlog_course_ydyjs_app;
## Restore a static partition to a dynamic partition
ALTER TABLE ods_log_outlog_course_ydyjs_app SET ("dynamic_partition.enable" = "true");
## resume routineLoad
resume routine load for ods_log_outlog_course_ydyjs_app_load
Read More:
- [Solved] Doris’s routineload task alarm consuming failed
- [Solved] Doris StreamLoad Error: load by MERGE or DELETE need to upgrade table to support batch delete
- Doris BrokerLoad Error: No source file in this table [How to Solve]
- How to Solve NCC2005 Error: get table metadata error
- Doris BrokerLoad Error: quality not good enough to cancel
- Doris BrokerLoad Error: quality not good enough to cancel
- [Solved] Kafka2.3.0 Error: Timeout of 60000ms expired before the position for partition could be determined
- [Solved] Doris Error: too many filtered rows
- How to Solve canal & MYSQL or “Kafka cannot consume data” Error
- How to Solve Kafka Error: no leader
- DataTables warning encountered using DataTables: table id = DataTables_Table_0 – Ajax error. For more information ab
- How to Solve Starrocks Various Error
- [Solved] Doris Error: Label Already Exists
- [Solved] Doris BrokerLoad Error: Scan bytes per broker scanner exceed limit: 3221225472
- How to Solve Expdp Error ORA-39126
- How to Solve ES error: “illegal_argument_exception”
- How to Solve using stm32f4 to drive PS2 error
- How to Solve Hyperf Failed to Start Error After Aliyun ACM Installed
- How to Solve Error: failed to load response
- How to Solve Sqlyog error 2058