New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot delete or empty external table [CORE1564] #805
Comments
Commented by: Robert Gilland (robert.gilland_basx.com.au) There is an equivalent issue in Interbase |
Commented by: @hvlad Does you tried FB 2.1 against this isuues ? |
Modified by: @dyemanovassignee: Vlad Khorsun [ hvlad ] |
Commented by: @hvlad > It is not possible to empty an external table or to delete the file associated with an external table without first disconnecting all users. This must be fixed in FB 2.1 > Two new features should be added. 1) DELETE FROM EXTERNAL_TABLE should delete all records. For this create feature request I recommend to close this ticket |
Commented by: Robert Gilland (robert.gilland_basx.com.au) We should also fix the GBAK and restore service falling over whenever a external table is defined in the metadata. |
Commented by: @hvlad Again, does you tried FB 2.1 ? |
Commented by: Robert Gilland (robert.gilland_basx.com.au) There is no FB2.1 released. Is there a schedule for a release of FB2.1 ? |
Commented by: @hvlad There are two betas of v2.1 released. Download beta2 or current snapshot and test it |
Commented by: Robert Gilland (robert.gilland_basx.com.au) The external file is not being released. steps to reproduce 1. Create External file result windows error The process cannot access the file because it is being used by another process This task should mean when the external table is not being accessed there should be no file handle open on it. But Using latest Firebird 2.1 beta to test with |
Modified by: @pcisarWorkflow: jira [ 13378 ] => Firebird [ 14041 ] |
Commented by: Sean Leyne (seanleyne) This is a duplicate case. Unfortunately, this wasn't caught earlier. This case will be closed and a comment added to the earlier case to refer to this case for details. |
Modified by: Sean Leyne (seanleyne)status: Open [ 1 ] => Resolved [ 5 ] resolution: Duplicate [ 3 ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pavel-zotovQA Status: No test |
Submitted by: Robert Gilland (robert.gilland_basx.com.au)
Duplicates CORE693
It is not possible to empty an external table or to delete the file associated with an external table without first disconnecting all users. This makes reuse of an external table for routine data export difficult or impossible.
While it is possible to drop the external table using DROP TABLE, this does not close the external ASCII file and it still cannot be deleted.
Two new features should be added. 1) DELETE FROM EXTERNAL_TABLE should delete all records. 2) DROP TABLE EXTERNAL_TABLE should close the external file so it can be deleted or renamed.
Better still, provide a way to close the external table without having to drop and recreate it.
The text was updated successfully, but these errors were encountered: