Github user zuyu commented on a diff in the pull request:

    https://github.com/apache/incubator-quickstep/pull/99#discussion_r78439950
  
    --- Diff: relational_operators/TextScanOperator.cpp ---
    @@ -91,6 +96,14 @@ bool TextScanOperator::getAllWorkOrders(
       if (blocking_dependencies_met_ && !work_generated_) {
         for (const std::string &file : files) {
           // Use standard C libary to retrieve the file size.
    +
    +#ifdef QUICKSTEP_HAVE_UNISTD
    +      // Check file permissions before trying to open it.
    +      const int access_result = access(file.c_str(), R_OK);
    +      CHECK_EQ(0, access_result)
    +          << "File " <<  file << " is not readable due to permission 
issues.";
    --- End diff --
    
    Please remove one of two whitespaces before `file`.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to