Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2052,7 +2052,7 @@ abstract class DDLSuite extends QueryTest with SQLTestUtils {

val fileStatus2 = fs.getFileStatus(tablePath)
if (ignore) {
assert(fileStatus2.getPermission().toString() == "rwxr-xr-x")
assert(fileStatus2.getPermission().toString() != "rwxrwxrwx")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a loose condition. I think it is rarely to have default file permission as rwxrwxrwx. Another option is not to check permission when ignore is true.

} else {
assert(fileStatus2.getPermission().toString() == "rwxrwxrwx")
}
Expand Down