-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-2700] [SQL] Hidden files (such as .impala_insert_staging) should be filtered out by sqlContext.parquetFile #1691
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
Conversation
…ld be filtered out by sqlContext.parquetFile
Can one of the admins verify this patch? |
val children = fs.listStatus(path).filterNot( | ||
status => (status.getPath.getName.charAt(0) == '.' || | ||
status.getPath.getName == FileOutputCommitter.SUCCEEDED_FILE_NAME) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to reformat these lines a bit:
val children = fs.listStatus(path).filterNot { status =>
val name = status.getPath.getName
name(0) == '.' || name == FileOutputCommitter.SUCCEEDED_FILE_NAME
}
LGTM except for minor styling issue. Thanks! |
done, thanks |
add to whitelist |
QA tests have started for PR 1691. This patch merges cleanly. |
QA results for PR 1691: |
…ld be filtered out by sqlContext.parquetFile Author: chutium <teng.qiu@gmail.com> Closes #1691 from chutium/SPARK-2700 and squashes the following commits: b76ae8c [chutium] [SPARK-2700] [SQL] fixed styling issue d75a8bd [chutium] [SPARK-2700] [SQL] Hidden files (such as .impala_insert_staging) should be filtered out by sqlContext.parquetFile (cherry picked from commit b7c89a7) Signed-off-by: Michael Armbrust <michael@databricks.com>
Thanks! Merge into master and 1.1. (Test failures look unrelated) |
…ld be filtered out by sqlContext.parquetFile Author: chutium <teng.qiu@gmail.com> Closes apache#1691 from chutium/SPARK-2700 and squashes the following commits: b76ae8c [chutium] [SPARK-2700] [SQL] fixed styling issue d75a8bd [chutium] [SPARK-2700] [SQL] Hidden files (such as .impala_insert_staging) should be filtered out by sqlContext.parquetFile
No description provided.