hacklu-tu opened a new pull request, #56121:
URL: https://github.com/apache/doris/pull/56121

   ALTER TABLE db.table DROP PARTITIONS FROM (1) TO (5)
   Note: The syntax only supports numbers, if your partition is p_1,p_2,p_6, 
using alter drop partition from (1) to (5) will remove the p_1 and p_2. The 
unsupported time range is not supported, because using interval unit timetype 
can be solved.
   e.g.
   ALTER TABLE db.table DROP PARTITIONS FROM (1) TO (10) INTERVAL 1
   e.g.
   ALTER TABLE db.table DROP PARTITIONS FROM ("2024-01") TO ("2024-12-31") 
INTERVAL 1 MONTH


-- 
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]

Reply via email to