Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 12388da

Browse files
committed
feat: make PREVENT_OVERFLOW_WHEN_CONCAT classvar
1 parent c56e6e0 commit 12388da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_diff/databases/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ def apply_query(callback: Callable[[str], Any], sql_code: Union[str, ThreadLocal
199199
class BaseDialect(abc.ABC):
200200
SUPPORTS_PRIMARY_KEY: ClassVar[bool] = False
201201
SUPPORTS_INDEXES: ClassVar[bool] = False
202+
PREVENT_OVERFLOW_WHEN_CONCAT: ClassVar[bool] = False
202203
TYPE_CLASSES: ClassVar[Dict[str, Type[ColType]]] = {}
203204

204205
PLACEHOLDER_TABLE = None # Used for Oracle
205206

206207
# Some database do not support long string so concatenation might lead to type overflow
207-
PREVENT_OVERFLOW_WHEN_CONCAT: bool = False
208208

209209
_prevent_overflow_when_concat: bool = False
210210

0 commit comments

Comments
 (0)