Skip to content

Commit 80bcd02

Browse files
committed
Minor - Match pandas kwargs
1 parent 622d130 commit 80bcd02

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

awswrangler/s3/_select.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,13 @@ def _select_query(
120120
]
121121
): # Scan range is only supported for uncompressed CSV/JSON, CSV (without quoted delimiters)
122122
# and JSON objects (in LINES mode only)
123-
_logger.debug("Scan ranges are not supported given provided input.")
124123
scan_ranges = [None] # type: ignore
125124

126125
return executor.map( # type: ignore
127126
_select_object_content,
128127
boto3_session,
129128
itertools.repeat(args),
130-
scan_ranges,
129+
scan_ranges
131130
)
132131

133132

@@ -279,4 +278,4 @@ def select_query(
279278
arrow_kwargs = _data_types.pyarrow2pandas_defaults(use_threads=use_threads, kwargs=arrow_additional_kwargs)
280279
executor = _get_executor(use_threads=use_threads)
281280
tables = _flatten_list([_select_query(path=path, executor=executor, **select_kwargs) for path in paths])
282-
return _utils.table_refs_to_df(tables, kwargs=arrow_kwargs)
281+
return _utils.table_refs_to_df(tables=tables, kwargs=arrow_kwargs)

0 commit comments

Comments
 (0)