[GitHub] [arrow] fsaintjacques commented on a change in pull request #7000: ARROW-8065: [C++][Dataset] Refactor ScanOptions and Fragment relation

2020-04-22 Thread GitBox
fsaintjacques commented on a change in pull request #7000: URL: https://github.com/apache/arrow/pull/7000#discussion_r413164872 ## File path: python/pyarrow/_dataset.pyx ## @@ -519,30 +500,69 @@ cdef class Fragment: """ return

[GitHub] [arrow] fsaintjacques commented on a change in pull request #7000: ARROW-8065: [C++][Dataset] Refactor ScanOptions and Fragment relation

2020-04-22 Thread GitBox
fsaintjacques commented on a change in pull request #7000: URL: https://github.com/apache/arrow/pull/7000#discussion_r413074200 ## File path: cpp/src/arrow/dataset/dataset.cc ## @@ -30,34 +30,40 @@ namespace arrow { namespace dataset { -Fragment::Fragment(std::shared_ptr

[GitHub] [arrow] fsaintjacques commented on a change in pull request #7000: ARROW-8065: [C++][Dataset] Refactor ScanOptions and Fragment relation

2020-04-22 Thread GitBox
fsaintjacques commented on a change in pull request #7000: URL: https://github.com/apache/arrow/pull/7000#discussion_r413045582 ## File path: cpp/src/arrow/dataset/file_base.cc ## @@ -222,9 +214,8 @@ FragmentIterator FileSystemDataset::GetFragmentsImpl( } Result>

[GitHub] [arrow] fsaintjacques commented on a change in pull request #7000: ARROW-8065: [C++][Dataset] Refactor ScanOptions and Fragment relation

2020-04-22 Thread GitBox
fsaintjacques commented on a change in pull request #7000: URL: https://github.com/apache/arrow/pull/7000#discussion_r413046083 ## File path: cpp/src/arrow/dataset/dataset.h ## @@ -100,16 +97,20 @@ class ARROW_DS_EXPORT InMemoryFragment : public Fragment { RecordBatchVector

[GitHub] [arrow] fsaintjacques commented on a change in pull request #7000: ARROW-8065: [C++][Dataset] Refactor ScanOptions and Fragment relation

2020-04-22 Thread GitBox
fsaintjacques commented on a change in pull request #7000: URL: https://github.com/apache/arrow/pull/7000#discussion_r413045582 ## File path: cpp/src/arrow/dataset/file_base.cc ## @@ -222,9 +214,8 @@ FragmentIterator FileSystemDataset::GetFragmentsImpl( } Result>

[GitHub] [arrow] fsaintjacques commented on a change in pull request #7000: ARROW-8065: [C++][Dataset] Refactor ScanOptions and Fragment relation

2020-04-22 Thread GitBox
fsaintjacques commented on a change in pull request #7000: URL: https://github.com/apache/arrow/pull/7000#discussion_r413007995 ## File path: cpp/src/arrow/dataset/dataset.h ## @@ -84,13 +82,12 @@ class ARROW_DS_EXPORT Fragment { class ARROW_DS_EXPORT InMemoryFragment :

[GitHub] [arrow] fsaintjacques commented on a change in pull request #7000: ARROW-8065: [C++][Dataset] Refactor ScanOptions and Fragment relation

2020-04-21 Thread GitBox
fsaintjacques commented on a change in pull request #7000: URL: https://github.com/apache/arrow/pull/7000#discussion_r412452967 ## File path: python/pyarrow/tests/test_dataset.py ## @@ -671,41 +669,29 @@ def test_fragments(tempdir): f = fragments[0] # file's schema

[GitHub] [arrow] fsaintjacques commented on a change in pull request #7000: ARROW-8065: [C++][Dataset] Refactor ScanOptions and Fragment relation

2020-04-21 Thread GitBox
fsaintjacques commented on a change in pull request #7000: URL: https://github.com/apache/arrow/pull/7000#discussion_r412407398 ## File path: cpp/src/arrow/dataset/dataset.cc ## @@ -72,36 +78,15 @@ Result> Dataset::NewScan() { return NewScan(std::make_shared()); } -bool