jorisvandenbossche commented on a change in pull request #8894:
URL: https://github.com/apache/arrow/pull/8894#discussion_r552053599



##########
File path: python/pyarrow/tests/parquet/test_dataset.py
##########
@@ -509,7 +509,7 @@ def test_filters_invalid_column(tempdir, 
use_legacy_dataset):
 
     _generate_partition_directories(fs, base_path, partition_spec, df)
 
-    msg = "Field named 'non_existent_column' not found"
+    msg = r"No match for FieldRef.Name\(non_existent_column\)"

Review comment:
       Doesn't necessarily need to happen in this PR, but: I personally don't 
find this a very user-friendly error message with "FieldRef.Name" in it (I 
think the previous was more readable)




----------------------------------------------------------------
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.

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


Reply via email to