Mike0808 opened a new issue, #49157:
URL: https://github.com/apache/doris/issues/49157

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   Dorsi v2.1.6
   
   ### What's Wrong?
   
   I got an 'unregister job error' when I tried to drop the job after the table 
was dropped.
   
   
[LogError.txt](https://github.com/user-attachments/files/19284868/LogError.txt)
   
   ### What You Expected?
   
   Removing job after removing table
   
   ### How to Reproduce?
   
   1. Create test table with this settings 
   ENGINE=OLAP
   DUPLICATE KEY(date)
   DISTRIBUTED BY HASH(date) BUCKETS 5
   PROPERTIES ("replication_num" = "1");
   
   2. Create Job 
   CREATE JOB xxxxx
   ON SCHEDULE EVERY 1 DAY STARTS '2025-03-17 10:45:00' 
   DO
   INSERT INTO
        xxxxxx
   SELECT
   *
   FROM xxxx
   
   3. Drop Table and create same table but with partitions
   ENGINE=OLAP
   DUPLICATE KEY(date)
   PARTITION BY RANGE(`date`)
   (
       PARTITION `p01_10` VALUES [("2023-08-01"),  ("2023-08-10")),
       PARTITION `p11_20` VALUES [("2023-08-11"),  ("2023-08-20")),
       PARTITION `p21_31` VALUES [("2023-08-21"), ("2023-08-31"))
   )
   DISTRIBUTED BY HASH(date) BUCKETS 50
   PROPERTIES ("replication_num" = "1");
   
   4. Trying to drop job and got error
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to