Error running dlt pipeline to send loaded table query result to s3!
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/dlt/extract/utils.py", line 235, in _parallel_gen
    return next(gen)  # type: ignore[call-overload]
           ^^^^^^^^^
  File "/app/app/dlt_sources.py", line 73, in query_resource
    schema = pyarrow_schema(query_result.dialect.name, query_result.cursor)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/app/db_cursor_mappings.py", line 15, in pyarrow_schema
    return _pyarrow_schema_oracle(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/app/db_cursor_mappings.py", line 50, in _pyarrow_schema_oracle
    _oracle_type_to_pyarrow(
  File "/app/app/db_cursor_mappings.py", line 106, in _oracle_type_to_pyarrow
    if scale < 0:
       ^^^^^^^^^
TypeError: '<' not supported between instances of 'NoneType' and 'int'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/app/data_pipeline.py", line 1119, in run_pipeline
    metadata, dlt_source = await get_metadata(dlt_source)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/app/pipeline_utils.py", line 744, in get_metadata
    table = next(iter(obj))
            ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/dlt/common/utils.py", line 146, in flatten_list_or_items
    for items in _iter:
                 ^^^^^
dlt.extract.exceptions.ResourceExtractionError: In processing pipe test_charge: extraction of resource test_charge in future <Future at 0x74b138e3bbc0 state=finished raised TypeError> caused an exception: '<' not supported between instances of 'NoneType' and 'int'