-
Notifications
You must be signed in to change notification settings - Fork 722
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
The function throw ZeroDivisionError: division by zero when there is no row returns.
Details:
File "/home/lib64/python3.6/dist-packages/awswrangler/pandas.py", line 547, in read_sql_athena procs_cpu_bound=procs_cpu_bound) File "/home/lib64/python3.6/dist-packages/awswrangler/pandas.py", line 580, in _read_sql_athena_ctas return self.read_parquet(path=paths, procs_cpu_bound=procs_cpu_bound) File "/home/lib64/python3.6/dist-packages/awswrangler/pandas.py", line 1254, in read_parquet bounders = calculate_bounders(len(path), procs_cpu_bound) File "/home/lib64/python3.6/dist-packages/awswrangler/utils.py", line 16, in calculate_bounders size = int(num_items / num_groups)
igorborgest
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request