You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2024/01/23 17:23:49 UTC

[I] [C++][Dataset] Ignored failures in dataset-scanner-benchmark [arrow]

pitrou opened a new issue, #39765:
URL: https://github.com/apache/arrow/issues/39765

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   When running `arrow-dataset-scanner-benchmark` locally I get the following failures. They are printed but just ignored afterwards:
   ```
   [...]
   ScanOnlyBench/num_batches:1000/batch_size:10/scan_alg:0/real_time            24661324 ns      2970995 ns            6 bytes_per_second=1.93354M/s items_per_second=40.5493k/s
   ScanOnlyBench/num_batches:1000/batch_size:10/scan_alg:1/real_time            15358689 ns       135295 ns            8 bytes_per_second=3.10467M/s items_per_second=65.1097k/s
   /home/antoine/arrow/dev/cpp/src/arrow/dataset/scanner_benchmark.cc:165: Failure
   Expected equality of these values:
     collected->num_columns()
       Which is: 6
     2
   
   [etc.]
   ```
   
   ### Component(s)
   
   Benchmarking, C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++][Dataset] Ignored failures in dataset-scanner-benchmark [arrow]

Posted by "Cerdore (via GitHub)" <gi...@apache.org>.
Cerdore commented on issue #39765:
URL: https://github.com/apache/arrow/issues/39765#issuecomment-1909207267

   Can I  try to fix this bug?
   Looks like there's a problem with the scan parameters.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++][Dataset] Ignored failures in dataset-scanner-benchmark [arrow]

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on issue #39765:
URL: https://github.com/apache/arrow/issues/39765#issuecomment-1906561572

   cc @westonpace 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++][Dataset] Ignored failures in dataset-scanner-benchmark [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #39765:
URL: https://github.com/apache/arrow/issues/39765#issuecomment-1909209675

   Sure!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++][Dataset] Ignored failures in dataset-scanner-benchmark [arrow]

Posted by "Cerdore (via GitHub)" <gi...@apache.org>.
Cerdore commented on issue #39765:
URL: https://github.com/apache/arrow/issues/39765#issuecomment-1910090923

   The extra 4 columns returned in the benchmark are:
   
   ```
   const FieldVector kAugmentedFields{
       field("__fragment_index", int32()),
       field("__batch_index", int32()),
       field("__last_in_fragment", boolean()),
       field("__filename", utf8()),
   };
   ```
    In the failure case, 6 columns are returned instead of the expected 2 columns. This is because `kScanFactory` is used as scan options, which triggers the execution of the MakeScanNode function. In this function, additional columns shown above are added.
   
   I also examined the TEST_F(TestReordering, ScanBatches) test case, which also invokes the MakeScanNode function. In this test, extra columns are also added. And the two case use the similar scan option.
   
   MakeScanNode 
   Related PR: 
   [If a projected_schema is not supplied ..](https://github.com/apache/arrow/pull/12466)
   [Implement ability to retrieve fragment filename](https://github.com/apache/arrow/pull/12560)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++][Dataset] Ignored failures in dataset-scanner-benchmark [arrow]

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #39765: [C++][Dataset] Ignored failures in dataset-scanner-benchmark
URL: https://github.com/apache/arrow/issues/39765


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org