From 92419313e1f24745a72e04a8b48723f0e52ea94f Mon Sep 17 00:00:00 2001 From: GALI PREM SAGAR Date: Mon, 23 May 2022 11:02:03 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Bradley Dice --- python/cudf/cudf/io/orc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/cudf/cudf/io/orc.py b/python/cudf/cudf/io/orc.py index 7c2922f2896..cd72a60b182 100644 --- a/python/cudf/cudf/io/orc.py +++ b/python/cudf/cudf/io/orc.py @@ -171,7 +171,7 @@ def read_orc_statistics( files_statistics = [] stripes_statistics = [] for source in filepaths_or_buffers: - (path_or_buff, compression,) = ioutils.get_reader_filepath_or_buffer( + path_or_buf, compression = ioutils.get_reader_filepath_or_buffer( path_or_data=source, compression=None, **kwargs ) if compression is not None: @@ -182,7 +182,7 @@ def read_orc_statistics( column_names, raw_file_statistics, raw_stripes_statistics, - ) = liborc.read_raw_orc_statistics(path_or_buff) + ) = liborc.read_raw_orc_statistics(path_or_buf) # Parse column names column_names = [