versatile-data-kit icon indicating copy to clipboard operation
versatile-data-kit copied to clipboard

vdk-oracle: support passing math.nAn and None for ingestion

Open DeltaMichael opened this issue 2 years ago • 0 comments

Overview

Passing math.nAn as part of an ingestion payload currently leads to ingestion errors. Passing None has not been tested. We should support passing both without any ingestion errors.

Example:

    payload2 = {"id": 6, "float_data": math.nan, "int_data": None}
    job_input.send_object_for_ingestion(
       payload=payload2, destination_table="test_table"
    )

Acceptance criteria

  1. We're able to pass math.nAn for ingestion
  2. We're able to pass None for ingestion
  3. There are tests covering this

DeltaMichael avatar Nov 22 '23 21:11 DeltaMichael