diogobaeder opened a new issue #7711: URL: https://github.com/apache/pinot/issues/7711
Hey there folks, Currently it's too hard to run any integration tests between my Python-based project and Apache Pinot, because it's really hard to have each test running starting from a deterministic state regarding Pinot. I already tried deleting all segments, tried dropping the table and recreating it, and none of these approaches work well enough - deleting segments requires me to manually recreate new ones afterwards, which I haven't found an easy way to do, for example. When it comes to deleting tables, I found it was a bit odd that a table can be deleted but this is not done right away, and if I recreate a new and equal table right away it comes up with the same segments as before. Therefore I think it would be nice if there could be an endpoint that could be used for synchronously dropping a table, while ensuring it gets fully cleared off of Pinot before responding - this way it would be possible to reliably dropping and then recreating the table for each integration test I have. It doesn't have to be the same endpoint that already exists for dropping a table, but it should be something that guarantees a deterministic state after responding to the client-side. I thought about asking for table truncation, but I noticed there's another ticket for handling that, and it's tricky to implement according to the people discussing that, so I guess synchronously dropping a table would be easier to implement as a workaround. What do you think? Can this be implemented? Perhaps in time for the 0.9.0 release? Thanks! -- 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...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org