Reputation: 129
Please tell me how to delete the template used in Apache IoTDB in this situation? I already tried to run drop device template vehicle
command, but an error occurred: Msg: 507: Template [vehicle] has been set on MTree, cannot be dropped now
. I wonder if I should write the command in a different way, or if I need to execute any other command before drop
?
Upvotes: 0
Views: 22
Reputation: 524
You need to first unset the template in Apache IoTDB (unset device template vehicle
statement), if you already set your template on MTree (put it to use). Then, you can normally execute the drop
command to delete the template.
Upvotes: 0