mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 17:15:39 +08:00
Call column_name_idx on index_columns
This commit is contained in:
1 parent
32c5e64b13
commit
2198dc5fd4
1 file changed
+2
-2
@@ -118,8 +118,8 @@ class ParquetFile(object):
|
||||
else:
|
||||
index_columns = []
|
||||
|
||||
if column_indices and index_columns:
|
||||
column_indices += index_columns
|
||||
if column_indices is not None and index_columns:
|
||||
column_indices += map(self.reader.column_name_idx, index_columns)
|
||||
|
||||
if nthreads is not None:
|
||||
self.reader.set_num_threads(nthreads)
|
||||
|
||||
Reference in new issue
Block a user