Closed
Description
Description
Command line arguments are not properly applied in the script python/test/ingest_files_from_s3.py
.
Parameters are not properly handled in SleeperClient.write_single_batch or SleeperClient.ingest_parquet_files_from_s3.
Steps to reproduce
- Run
python python/test/ingest_files_from_s3.py
against a Sleeper table - See error
Expected behaviour
Files should be ingested.
Screenshots/Logs
Error from Python:
Traceback (most recent call last):
File "python/test/ingest_files_from_s3.py", line 30, in <module>
sleeper_client.ingest_parquet_files_from_s3(args.table, args.files, args.jobid)
File "/python/env/lib/python3.12/site-packages/sleeper/client.py", line 115, in ingest_parquet_files_from_s3
_ingest(table_name, files, self._instance_properties, job_id)
TypeError: _ingest() missing 1 required positional argument: 'job_id'