Github user zuotingbing commented on the issue:
https://github.com/apache/spark/pull/17858
In this case, Hive will create the staging directory under the table
directory, and when moving staging directory to table directory, Hive will
still empty the table directory, but will exclude the staging directory which
start with "." or "_"
`public static final PathFilter HIDDEN_FILES_PATH_FILTER = new PathFilter()
{
public boolean accept(Path p) {
String name = p.getName();
return !name.startsWith("_") && !name.startsWith(".");
}
};`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]