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-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to