-
Notifications
You must be signed in to change notification settings - Fork 61
Feature request for DROP TABLE #41
Comments
In fact, code is in pgpool-2 code ( |
So, to support DROP TABLE,
are necessary. |
Ok great, thanks for the info Sadayuki |
Hi Sadayuki, I tried to add T_DropStmt check in prestogres_send_to_where (not sure how/where to change pool_has_system_catalog), and got the following error, and looks like ALTER TABLE does not work either: hive=> \d hive=> drop table orders; |
I was able to get DROP TABLE working after setting hive.allow-drop-table=true for the Presto Hive connector. But the deleted Hive table still shows in Prestogres/postgres until next session, will need to figure out how to change pool_has_system_catalog to make this fully working. |
I see. System catalog (including list of tables) is generated when a client runs the first query, and cached until the connection is closed. |
Hi Sadayuki, Thanks, |
Hi Sadayuki, thanks, setting NULL to prestogres_system_catalog_relcache worked, I submitted a pull request for it, not sure if I did it in the best place, let me know if you have any suggestions. |
Hi DROP TABLE does not currently work as documented, any plan to get it working? Looks like some code changed in Python is needed to get this working?
Thanks,
Tom
The text was updated successfully, but these errors were encountered: