Skip to content

Commit

Permalink
Use simplejson to support Decimal type JSON serialization (#23)
Browse files Browse the repository at this point in the history
* Use SimpleJSON to speed up and correctly convert objects

* Use SimpleJSON to speed up and correctly convert objects

* Use SimpleJSON to speed up and correctly convert objects
  • Loading branch information
BTheunissen authored Aug 6, 2023
1 parent db45aa3 commit f9ab1fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ python = "<3.12,>=3.7.1"
singer-sdk = { version=">=0.28,<0.31" }
fs-s3fs = { version = "^1.1.1", optional = true }
clickhouse-sqlalchemy = "^0.2.4"
simplejson = "^3.19.1"

[tool.poetry.dev-dependencies]
pytest = "^7.2.1"
Expand Down
2 changes: 1 addition & 1 deletion target_clickhouse/sinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

from __future__ import annotations

import json
import typing
from typing import TYPE_CHECKING, Any, Iterable

import simplejson as json
import sqlalchemy.types
from clickhouse_sqlalchemy import (
Table,
Expand Down

0 comments on commit f9ab1fd

Please sign in to comment.