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
getting a panic,
full code : https://colab.research.google.com/drive/1okNM6aOEdZSZy7XNHfxvUmdf57Z6BvEu?usp=sharing