-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
I am trying to run it in Azure Databricks and getting the following error. 1 through 5 works fine, but it fails in number 6.
https://www.databricks.com/resources/demos/tutorials/data-science/ai-agent
Loading data in your schema dkushari_uc.dbdemos_aibi_customer_support using warehouse 148ccb90800933a1, this might take a few seconds (you can use another warehouse with the option: warehouse_name='xxx')...
DataLoaderException: Error loading data from S3: 'bytes' object has no attribute 'seekable'
File /local_disk0/.ephemeral_nfs/envs/pythonEnv-0623587c-fdde-4f30-a1d9-f59b4736867a/lib/python3.12/site-packages/dbdemos/installer_genie.py:253, in InstallerGenie.load_data_to_volume(self, ws, data_folder, demo_conf, debug)
252 with ThreadPoolExecutor(max_workers=5) as executor:
--> 253 collections.deque(executor.map(copy_file, files))
255 except Exception as e:
File /local_disk0/.ephemeral_nfs/envs/pythonEnv-0623587c-fdde-4f30-a1d9-f59b4736867a/lib/python3.12/site-packages/dbdemos/installer_genie.py:256, in InstallerGenie.load_data_to_volume(self, ws, data_folder, demo_conf, debug)
253 collections.deque(executor.map(copy_file, files))
255 except Exception as e:
--> 256 raise DataLoaderException(f"Error loading data from S3: {str(e)}")
Metadata
Metadata
Assignees
Labels
No labels