srikalyc / Sql4D

Sql interface to druid.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Drop statement.

srikalyc opened this issue · comments

DROP TABLE tableName;

  • This will issue a timeboundary , expand the endTime of interval by 62 days which ensures drop will delete the table with max segment size of 2 months.
  • Flag used=0 all the corresponding entries in segments table in MySql.
  • Issue a kill task.
  • Track task status until done (or) timeout.