{"record":{"id":"5d6a2e377a4f2f07","repo":"pathwaycom/pathway","slug":"all-synchronization-group-column-types-must-coinci","errorCode":null,"errorMessage":"All synchronization group column types must coincide. However several types have been detected: {}","messagePattern":"All synchronization group column types must coincide\\. However several types have been detected: (.+?)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"python/pathway/io/_synchronization.py","lineNumber":303,"sourceCode":"                continue\n            is_table_found = True\n            group = api.ConnectorGroupDescriptor(\n                name, column_idx, max_difference, priority, idle_duration\n            )\n            if node.datasource.data_source_options.synchronization_group is not None:\n                raise ValueError(\n                    \"Only one column from a table can be used in a synchronization group\"\n                )\n            node.datasource.data_source_options.set_synchronization_group(group)\n            break\n\n        if not is_table_found:\n            raise ValueError(\n                \"Only unchanged columns of an input tables can be used in input synchronization groups\"\n            )\n\n    if len(column_types) > 1:\n        raise ValueError(\n            \"All synchronization group column types must coincide. \"\n            \"However several types have been detected: {}\".format(\n                \", \".join(sorted([f\"'{t}'\" for t in column_types]))\n            )\n        )\n\n\ndef _check_column_type(column, max_difference):\n    column_type = column._column.dtype\n    if column_type not in _SUPPORTED_COLUMN_DTYPES:\n        raise ValueError(\n            f\"Fields of type {column_type.typehint} are not supported in connector groups\"\n        )\n    if isinstance(max_difference, int) and column_type != dtype.INT:\n        raise ValueError(\n            \"If max_difference is an integer value, the values of a column must have a type of \"\n            f\"int. However, the column '{column}' has type '{column_type.typehint}'\"\n        )","sourceCodeStart":285,"sourceCodeEnd":321,"githubUrl":"https://github.com/pathwaycom/pathway/blob/fa2f74a4649b7c5908690cf60137263d8d80de5f/python/pathway/io/_synchronization.py#L285-L321","documentation":"Error \"All synchronization group column types must coincide. However several types have been detected: {}\" thrown in pathwaycom/pathway.","triggerScenarios":"Thrown at python/pathway/io/_synchronization.py:303 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Cast all columns in the synchronization group to a single common type before registering the group, so every column type coincides."],"exampleFix":"t = t.select(t1=pw.declare_type(pw.DateTimeUtc, t.t1), t2=pw.declare_type(pw.DateTimeUtc, t.t2))","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa2f74a4649b7c5908690cf60137263d8d80de5f","analyzedAt":"2026-08-15T01:48:17.006Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}