How to delete schema and table?

242 views
Skip to first unread message

Kurt Young

unread,
Jun 26, 2015, 5:01:39 AM6/26/15
to pinot...@googlegroups.com
All commands from pinot-admin.sh seems can't do these things

Jean-François Im

unread,
Jul 1, 2015, 9:49:52 PM7/1/15
to pinot...@googlegroups.com, ykt...@gmail.com
We're in the process of documenting the REST API.

To delete a schema:
curl -X DELETE -i http://<controllerhost>:<controllerPort>/schemas/<schemaName>

To delete a table:
curl -X DELETE -i http://<controllerhost>:<controllerPort>/tables/<schemaName>

Johnny Zhu

unread,
Jul 16, 2015, 2:22:12 AM7/16/15
to pinot...@googlegroups.com, ykt...@gmail.com
Hi when I delete schema using command "curl -X DELETE -i http://<controllerhost>:<controllerPort>/schemas/<schemaName>" I received error, It tells "HTTP/1.1 405 Method Not Allowed " and "The method specified in the request is not allowed for the resource identified by the request URI" Have you ever meet? 

在 2015年7月2日星期四 UTC+8上午9:49:52,Jean-François Im写道:
Reply all
Reply to author
Forward
0 new messages