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

Commit 4da731f

Browse files
committed
feat: make PREVENT_OVERFLOW_WHEN_CONCAT classvar
1 parent 5ed6e18 commit 4da731f

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,13 +199,13 @@ 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
USE_TOP_INSTEAD_LIMIT: bool = False # True for MsSQL or Teradata
206207

207208
# Some database do not support long string so concatenation might lead to type overflow
208-
PREVENT_OVERFLOW_WHEN_CONCAT: bool = False
209209

210210
_prevent_overflow_when_concat: bool = False
211211

0 commit comments

Comments
 (0)