You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "djouallah (via GitHub)" <gi...@apache.org> on 2025/08/22 04:15:31 UTC
[I] PanicException: index out of bounds: the len is 0 but the index is 0 [datafusion-python]
djouallah opened a new issue, #1207:
URL: https://github.com/apache/datafusion-python/issues/1207
getting a panic,
```
Query18
---------------------------------------------------------------------------
PanicException Traceback (most recent call last)
[/tmp/ipython-input-3560973170.py](https://localhost:8080/#) in <cell line: 0>()
3 for tbl in tbl_list :
4 ctx.register_table_provider(tbl, DeltaTable(f'{Table_Path}/CH{SF}/{tbl}'))
----> 5 df = execute_query(ctx,sql)
6 save_results(df,'datafusion')
1 frames
[/usr/local/lib/python3.12/dist-packages/datafusion/dataframe.py](https://localhost:8080/#) in show(self, num)
624 num: Number of lines to show.
625 """
--> 626 self.df.show(num)
627
628 def distinct(self) -> DataFrame:
PanicException: index out of bounds: the len is 0 but the index is 0
```
full code : https://colab.research.google.com/drive/1okNM6aOEdZSZy7XNHfxvUmdf57Z6BvEu?usp=sharing
--
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.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] PanicException: index out of bounds: the len is 0 but the index is 0 [datafusion-python]
Posted by "timsaucer (via GitHub)" <gi...@apache.org>.
timsaucer closed issue #1207: PanicException: index out of bounds: the len is 0 but the index is 0
URL: https://github.com/apache/datafusion-python/issues/1207
--
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.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org