• Function to cast value return base on metadata from InfluxDB.

    Parameters

    • field: Field

      the Field object from Arrow

    • value: any

      the value to cast

    Returns any

    the value with the correct type