diff --git a/airbyte-integrations/connectors/source-mysql/src/main/kotlin/io/airbyte/integrations/source/mysql/MysqlJdbcPartitionFactory.kt b/airbyte-integrations/connectors/source-mysql/src/main/kotlin/io/airbyte/integrations/source/mysql/MysqlJdbcPartitionFactory.kt index bb6dca28d813..121b77183460 100644 --- a/airbyte-integrations/connectors/source-mysql/src/main/kotlin/io/airbyte/integrations/source/mysql/MysqlJdbcPartitionFactory.kt +++ b/airbyte-integrations/connectors/source-mysql/src/main/kotlin/io/airbyte/integrations/source/mysql/MysqlJdbcPartitionFactory.kt @@ -226,11 +226,9 @@ class MysqlJdbcPartitionFactory( } else { val sv: MysqlJdbcStreamStateValue = Jsons.treeToValue(opaqueStateValue, MysqlJdbcStreamStateValue::class.java) - println("sv: $sv") if (stream.configuredSyncMode == ConfiguredSyncMode.FULL_REFRESH) { val upperBound = findPkUpperBound(stream, pkChosenFromCatalog) - println("pkval: ${sv.pkValue}, upperBound: ${upperBound.asText()}") if (sv.pkValue == upperBound.asText()) { return null } diff --git a/airbyte-integrations/connectors/source-mysql/src/main/kotlin/io/airbyte/integrations/source/mysql/MysqlSourceOperations.kt b/airbyte-integrations/connectors/source-mysql/src/main/kotlin/io/airbyte/integrations/source/mysql/MysqlSourceOperations.kt index daefc34c8422..58213fff0747 100644 --- a/airbyte-integrations/connectors/source-mysql/src/main/kotlin/io/airbyte/integrations/source/mysql/MysqlSourceOperations.kt +++ b/airbyte-integrations/connectors/source-mysql/src/main/kotlin/io/airbyte/integrations/source/mysql/MysqlSourceOperations.kt @@ -261,7 +261,7 @@ class MysqlSourceOperations : is And -> conj.flatMap { it.bindings() } is Or -> disj.flatMap { it.bindings() } is WhereClauseLeafNode -> { - val type = column.type as LosslessJdbcFieldType<*, *> + val type = /*column.type as LosslessJdbcFieldType<*, *>*/StringFieldType listOf(SelectQuery.Binding(bindingValue, type)) } }