Skip to content
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

Fix direcotory table problems and add guc allow_dml_directory_table. #683

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 6, 2024

  1. Fix direcotory table problems and add guc allow_dml_directory_table.

    In this commit, fix gpdirtable can not specify file name. We can specify
    file name using two match mode, full match and regex match. Full match
    using for download one file while regex match using for downloading files
    in directory. What's more, we add new guc allow_dml_directory_table, which
    allow us to do dml on directory table's schema table. Lastly, we support a
    new grammar for drop directory table. We don't remove directory table's
    directory by default, while we can remove it by using 'with content' keywords
    in drop directory table grammar, for example:
    
    DROP DIRECTORY TABLE dir_table WITH CONTENT;
    
    Authored-by: Zhang Wenchao [email protected]
    wenchaozhang-123 committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    04ef0dd View commit details
    Browse the repository at this point in the history