diff --git a/src/crate/client/http.py b/src/crate/client/http.py index f064dde5..5703e81f 100644 --- a/src/crate/client/http.py +++ b/src/crate/client/http.py @@ -343,7 +343,7 @@ def _create_sql_payload(stmt, args, bulk_args): return orjson.dumps( data, default=cratedb_json_encoder, - option=orjson.OPT_PASSTHROUGH_DATETIME, + option=(orjson.OPT_PASSTHROUGH_DATETIME | orjson.OPT_SERIALIZE_NUMPY), )