devanbenz commented on code in PR #50881:
URL: https://github.com/apache/arrow/pull/50881#discussion_r3790310576


##########
docs/source/cpp/tutorials/datasets_tutorial.rst:
##########
@@ -66,6 +66,15 @@ compute functionality for each file type we'll work with in 
this article:
   :start-after: (Doc section: Includes)
   :end-before: (Doc section: Includes)
 
+.. note::
+   The dataset and Parquet headers come from libraries separate from ``arrow``,
+   so linking ``Arrow::arrow_shared`` alone is not enough to build this 
example.
+   Your ``CMakeLists.txt`` needs ``find_package(ArrowDataset REQUIRED)`` and
+   ``find_package(Parquet REQUIRED)``, linking both the
+   ``ArrowDataset::arrow_dataset_shared`` and ``Parquet::parquet_shared``
+   targets. See :ref:`cpp-build-system-linking-parquet` for a complete
+   ``CMakeLists.txt``.

Review Comment:
   Sure, sounds good. 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to