1
0
mirror of synced 2025-12-21 02:51:29 -05:00
Commit Graph

482 Commits

Author SHA1 Message Date
Akash Kulkarni
28e2059e5c MySQL Source : Check for REQUIRE CLIENT privilege in CDC (#20000)
* Test

* Check for REPLICATION CLIENT PRIVILEGE

* format

* undo format

* Fix test + comments

* Simplify checked function

* Bump up version + log

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-12-06 11:56:56 -08:00
Akash Kulkarni
9ae92e2a1a Fix additional MySQL integration tests (#20119)
* Fix test : attempt 1

* Remove setting cloud
2022-12-06 08:19:04 -08:00
Edward Gao
ea3fb898aa Source Postgres: Fix not being able to configure wal2json plugin (unpublished) (#19985)
* switch const to default

* update expected specs

* try updating system-stubs?

* Revert "try updating system-stubs?"

This reverts commit 0311a5a1d1.

* switch to system stubs

* changelog

* fix more tests
2022-12-05 17:08:21 -08:00
Edward Gao
4c5584009a JDBC Sources: Switch integration tests to use system stubs (#20026) 2022-12-02 09:08:08 -08:00
Evan Tahler
e73a5337ca Increase Database Source SELECT Batch Size (#19514)
* Increase Database Source SELECT Batch Size

* 60% is a little safer

* comment

* format...

* Update byte-size tests

* fixup tests

* test fixes

* format

* readmes and connector versions

* match strict-encrypt versions

* auto-bump connector version

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-11-28 14:19:47 -08:00
Yevhen Sukhomud
a5e625b04c fix format (#19538) 2022-11-17 19:31:04 +07:00
Rodi Reich Zilberman
c739c4c36c Implement Debezium heartbeats for source-postgres (#19004)
* Initial working commit

* Code sanity. Provide no-on implementation to mysql, MSSql to allow compilation.

* Update test

* sanity

* sanity

* sanity

* sanity

* sanity

* changes per review comments

* Make heartbeat change waittime configurable.

* Trying to bypass test strictness test

* Trying to bypass test strictness test

* Trying to bypass test strictness test

* fix acceptance test config format

* add missing SAT test in config

* revert back changes in acceptance-test-config.yml

* Version and notes

* auto-bump connector version

Co-authored-by: alafanechere <augustin.lafanechere@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-11-16 16:20:04 -08:00
Subodh Kant Chaturvedi
5d2011d065 mysql-source:tinyint-unsigned should not be identified as boolean (#18956)
* mysql-source:tinyint-unsigned should not be identified as boolean

* upgrade version

* fix encrypted spec

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-11-14 17:10:49 +05:30
VitaliiMaltsev
c72b75e608 Postgres/MySQL Source Strict Encrypt: stop enforce SSL if ssl mode disabled (#19025)
* Postgres/MySQL Source Strict Encrypt: stop enforce SSL if ssl mode disabled

* fixed checkstyle

* updated changelog

* add tests

* replaced MySQL test to mysql-strict-encrypt module

* fixed Connection Refused for mysql test

* replaced Postgres Source strict-encrypt tests into new class

* bump version

* auto-bump connector version

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-11-10 00:59:18 +02:00
Andrii Leonets
58e4ef6912 Enable SPEC SAT for Java sources (#18779)
* enable py spec compatibility tests

* add missing properties

* use expected spec file instead of the source spec.json + use dummy config file

* add missing files for the clickhouse

* move test files to the integration-test from the unit test folder

* add missing files to cockroachdb

* add missing files to db2 + fix spec format

* add missing files to elasticsearch + fix spec format

* add missing files to jdbc

* add missing files to mongodb_v2 + fix spec format

* add missing files to mssql + fix spec format

* add missing files to mysql + fix spec format

* add missing files to postgres + fix spec format

* add missing files to oracle + fix spec format

* add missing files to redshift

* add missing files to sftp

* add missing files to snowflake + fix spec format

* add missing files to tidb

* add missing files to kafka - fix spec format

* airbyte-source-acceptance-test added

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>

* add missing import

* Delete acceptance-test-config.yml

* Delete acceptance-test-docker.sh

* Update build.gradle

* Update build.gradle

* format

* revert changes

* manual .sh files format

* upd expected spec

* format

* fix SAT after master merge

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
Co-authored-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-11-09 21:45:46 +02:00
Eugene
a4ea907094 Fixed checkstyle by running the "./gradlew --no-daemon format --scan". NO changes in logic (#19214)
* Fixed checkstyle by running the "./gradlew --no-daemon format --scan". NO changes in logic
2022-11-09 19:36:37 +02:00
Subodh Kant Chaturvedi
fe3f459a8f mssql-source:upgrade debezium version to 1.9.6 (#18732)
* mssql-source:upgrade debezium version to 1.9.6

* more improvements

* upgrade version

* auto-bump connector version

* fix test

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-11-04 23:02:51 +05:30
VitaliiMaltsev
8bb97010f3 MySQL Source: fixed unencrypted CDC connections (#18851)
* MySQL Source: fixed unencrypted CDC connections

* updated changelog

* bump version

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-11-03 19:40:20 +02:00
Subodh Kant Chaturvedi
0a37a8d352 mysql-source:fix tinyint unsigned handling (#18619)
* mysql-source:fix tinyint unsigned handling

* update doc

* format

* upgrade version

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-11-02 20:54:05 +05:30
oneshcheret
2d4f443c75 Sources postgres, mysql, alloydb: encode database name (#18538)
* Source postgres: encode database name

* Source postgres, mysql: move encoding in util class, apply for mysql

* Source postgres, mysql: make var final

* Source postgres, mysql: bump version

* Source postgres, mysql: format code

* auto-bump connector version

* Source mysql: bump version

* auto-bump connector version

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-31 19:53:20 +02:00
Akash Kulkarni
b0a8e5473f Follow-up fix for SSHExceptions (#18383)
* Follow-up fix for SSHExceptions

* Catch RuntimeException instead of augmenting connection error messaging for now

* Update tests

* Bump versions + docs

* auto-bump connector version

* auto-bump connector version

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-25 15:06:03 -07:00
Ryan Fu
cc41385f50 Updates getPrivateKeyPair to throw exception when private key pair does not exist (#18263)
* Changes method from returning null to throwing Exception to match method structure

* Added javadoc explaining that KeyPair should not be returning null

* Moved ConnectionErrorException to commons package

* Adds error handling for SshWrappedDestinations and markdown to include changes

* Bumps version numbers for Postgres, MySQL, MSSQL

* auto-bump connector version

* auto-bump connector version

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-21 16:04:39 -07:00
Akash Kulkarni
55d030f3d7 🎉 Enhanced error messaging for DB source connectors (#18087)
* Enhanced error messaging for invalid cursor state

* Handle SSH config fail

* Handle SSH config fail

* Update AbstractDbSource.java

* Bump up versions + doc for beta+ connectors

Bump up versions + doc for beta+ connectors

* auto-bump connector version

* auto-bump connector version

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-19 12:22:42 -07:00
Ryan Fu
8c780bd3aa Publishes Postgres, MySQL, MSSQL source with changes from #18041 (#18086)
* Publishes Postgres, MySQL, MSSQL source with changes from #18041

* auto-bump connector version

* auto-bump connector version

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-18 21:53:30 -07:00
Liren Tu
888347a0d0 🎉 JDBC sources: store cursor record count in db state (#15535)
* Add cursor_record_count to db stream state

* Add cursor record count to cursor info

* Emit max cursor record count

* Add original cursor record count

* Unify logging format

* Add backward compatible methods

* Update unit tests for state decorating iterator

* Update test (not done yet)

* Fix one more unit test

* Change where clause operator according to record count

* Add branch for null cursor

* Skip saving record count when it is 0

* Fix log wording

* Set mock record count in test

* Check cursor value instead of cursor info

* Fix source jdbc test

* Read record count from state

* Fix tests

* Add an acceptance test case

* Fix npe

* Change record count from int to long to avoid type conversion

* Fix references

* Fix oracle container

* Use uppercase for snowflake

* Use uppercase for db2

* Fix and use uppercase

* Update test case to include the edge case

* Format code

* Remove extra assertion in clickhouse

* Merge ms sql incremental query method

* Log query for debugging

* Clean up name_and_timestamp table

* Fix db2 tests

* Fix mssql tests

* Fix oracle tests

* Fix oracle tests

* Fix cockroachdb tests

* Fix snowflake tests

* Add changelog

* Fix mssql tests

* Fix db2-strict-encrypt tests

* Fix oracle-strict-encrypt tests

* Bump postgres version

* Fix oracle-strict-encrypt tests

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-14 01:09:12 -07:00
Akash Kulkarni
e1701c97eb 🎉 MySQL Source : Expose serverTimezone debezium option via MySQL Source spec for CDC (#17815)
* Expose serverTimezone debezium option via MySQL Source spec for CDC

* Fix tests

* Bump dockerfile version

* Update Dockerfile

* Update mysql.md

* Update mysql.md

* Documentation

* Code Review Comments

* Addressing comments

* Addressing comments

* Addressing comments

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-12 09:53:25 -07:00
Eugene
33dfd5d6be Fixed "Ensure no file change" build issue. Only checkstyle changes, no logic chnages (#17885) 2022-10-12 15:06:28 +03:00
Pedro S. Lopez
938436bcc9 update connector specs and definitions with new .com documentation urls (#17585)
* update definitions with new .com docs urls

* update docs urls in specs

* update generators

* regenerate scaffold connectors

* remove unrelated changes

* update more urls

* update specs

* fix tests

* run `:airbyte-config:specs:generateSeedConnectorSpecs` to fix formatting

* revert docs changes to make pr more reviewable

* revert generator readme changes to make more reviewable

* fix mysql strict encrypt expected spec

* fix postgres expected spec
2022-10-11 11:04:23 -04:00
Yevhen Sukhomud
3501abe888 🎉 8890 Source MySql: Fix large table issue by fetch size (#17236)
* 8890 Fix large table issue by fetch size

* 8890 Bump version

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-07 20:25:56 +07:00
Evan Tahler
49cb3360de Remove redundant title labels from connector specs (#17544)
* Remove redundant title labels from connector specs

* Manually update specs

* add env variable

* Remove debugging log
2022-10-05 12:58:38 -07:00
Akash Kulkarni
bb6dff5749 🎉 MySQL Source : Make initial cdc timeout configurable for MySQL source (#17170)
- Implement logic + update spec
- Fix tests
- Bump dockerfile

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-03 13:49:56 -07:00
Subodh Kant Chaturvedi
0c1823d9aa upgrade debezium version to 1.9.6 (#17459)
* upgrade debezium version to 1.9.6

* test override not required

* bump version

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-01 15:08:42 +05:30
Greg Solovyev
da5df45afe Spec and doc fixes to prepare MySQL Source for Beta (#17164)
* Fix URL of MySqlSourceDatatypeTest.java

* Fix naming of JDBC URL parameters field to match Postgres

* Fix a typo in JDBC params description

* Bump version to 1.0.0 for beta

* replace e.g. with example

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-09-29 10:17:59 -07:00
Rodi Reich Zilberman
248da78ba7 Make error more descriptive in case of no encryption state (#17299)
* Make error more descriptive in case of no encryption state

* Fix failing test

* Change error message on strict-encrypt postgres destination as well. Fix failing test

* update versions and changelogs

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-09-28 15:26:09 -07:00
Subodh Kant Chaturvedi
99746082a4 mysql source : implement support for snapshot of new tables in cdc mode (#16954)
* mysql source : implement support for snapshot of new tables in cdc mode

* undo unwanted changes

* add more assertions

* format

* fix build

* fix build

* revert acceptance test changes

* bump version

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-09-27 00:14:07 +05:30
Sherif A. Nada
d607eb5875 Source MySQL: Add Python SAT to detect backwards breaking changes (#16445) 2022-09-14 17:49:52 -07:00
Yurii Bidiuk
10e4aae891 Use LOG4J2 to wrap connectors logs to JSON format (#15668)
* Use LOG4J2 to wrap connectors logs to JSON format

* log connector's stack trace directly as a message

* add stack_trace field to json template

* bump versions

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* revert versions for destinations: postgres, mssql, mysql

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-09-14 23:27:13 +03:00
Edward Gao
39b816eb02 CDC sources: avoid busy wait when pushing to queue (#16657) 2022-09-13 13:53:23 -07:00
Ryan Fu
50a8d03c4c Cleans and Rebase Error Message Factory PR (#16202)
* Cleaned error messages factory PR

* Bumped MySQL and Postgres version

* Fixed messages and typos in test

* Fixes the changelog conflict with per-stream state

* Added note for flaky test

* Bumps mysql version to match changelog

* Added exception objects to all LOGGER.error for more visibility

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-09-12 16:08:11 -07:00
Subodh Kant Chaturvedi
cd6f997814 implement support for per-stream state in mysql source (#16007)
* implement support for per-stream state in mysql source

* enable flag in tests

* activate per stream in tests

* enable per stream state in test

* bump version

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-09-09 16:52:30 +05:30
VitaliiMaltsev
e9a8a05267 MySQL Source : Standardize spec.json for DB connectors that support log-based CDC replication (#16216)
* Fixed bucket naming for S3

* removed redundant configs

* MySQL Source : Standardize spec.json for DB connectors that support log-based CDC replication

* fixed strict encrypt tests

* fixed mysql tests

* bump version

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-09-04 15:30:04 +03:00
Liren Tu
9acc802c71 🎉 MySQL sources: emit state messages more frequently (#16259)
* Emit intermediate state messages from mysql source

* Add pr id

* Try ec2 runner with larger disk

* Revert "Try ec2 runner with larger disk"

This reverts commit fb4d99489d.
2022-09-02 02:47:33 -07:00
Rodi Reich Zilberman
c6f876d618 enforce ssl in strict mysql and postgres source (#16114)
* enforce ssl in strict mysql and postgres source

* Add test to verify tunnel aware strict SSL behavior

* bump version numbers and changelogs

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-08-31 10:50:01 -07:00
Rodi Reich Zilberman
a51a53fc3d New ssl flow for connectors (#15993)
* new ssl flow for connectors

* Bump versions and update changelogs

* Address review comments

* sanity

* Revert Dockerfile versions

* Fix error in test

* The test certificate we use do not contain a valid hostname so we can only verify ca trust but not hostname match

* verify-ca and verify-full SSL modes are not related to whether a client certificate is used. Make client certificate optional on both modes

* Bump Dockerfile versions and correct change notes.

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-08-26 22:32:19 -07:00
Subodh Kant Chaturvedi
264b72f37b fix temporal type default value bug mysql (#15917)
* fix handling for temporal data type columns with default values

* add tests

* minor NIT comment

* bump version

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-08-25 13:30:51 +05:30
Ryan Fu
4572b75845 Moved getConnection into a try-with block and ran gradlew format (#15805) 2022-08-22 19:54:00 -07:00
mkhokh-33
5776dcc949 Mkhokh/8858 cursor fields for incremental update (#14356)
* add logic to skip incremental mode for tables which do not have a field types that could not be used as cursor

* added tests for cursor fields incremental updates

* remove not used methods

* fix tests

* fix formatting

* revert RedshiftInsertDestinationAcceptanceTest

* fix ssl clickhouse test

* fix codereview comments

* fix clickhouse strict encrypt test

* fix postgres source after merge from master

* optimize ssl clickhouse test logic

* fix db2 test

* added check for cursor field should be not nullable, fix formatting

* fixed tests, formatting, issue after merge from master

* fix merge issues

* fix test for source-jdbc and remove some code used for local testing

* added description for cockroach db tests

* test changes

* refactoring for cursor field tests after code review comments

* refactoring for cursor field tests after code review comments

* fix code review comments

* remove unused imports

* fix formatting

* fix compilation error

* fix postgres and postgress ssl test

* Fixed bucket naming for S3

* remove CHAR, NCHAR from possible cursor types

* remove SYMBOL from possible cursor types

* removed redundant configs

* fixed mysql-strict-encrypt tests

* fixed mongodb-v2 tests

* minor format changes

* bump version

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

Co-authored-by: vmaltsev <ihbectop@gmail.com>
Co-authored-by: subodh <subodh1810@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-08-18 19:48:22 +03:00
andriikorotkov
e5098e84f4 🎉 Source MySql: Added SSL certificates to MySql Source (#15044)
* updated mysql source specification and added field for root and clients SSL certificates

* added SSL mode for mysql source

* fixed code style

* updated run process timeout

* updated method for create keystore and updated tests

* updated normalization version for postgres destination

* updated normalization version for postgres destination

* added tests for connection with certificates

* updated tests for connection with full certificates and added tests for CA certificate

* updated tests

* updated source-mysql-strict-encrypt and updated versions

* updated code style

* updated doc

* updated specs

* fixed minor remarks

* fixed minor remarks

* updated tests

* fixed remarks and updated specification

* fixed mysql sources connectors version

* added CDC + SSL Certificates tests

* added property for CDC and added tests for test SSL with CDC together

* fixed MySqlStrictEncryptJdbcSourceAcceptanceTest for work with datetime format

* added property for CDC and added tests for test SSL with CDC together

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-08-16 13:34:19 -07:00
Subodh Kant Chaturvedi
7a7e78f436 fix temporal data type handling in mysql source (#15504)
* fix postgres data handling from WAL logs in CDC mode

* format

* fix temporal type data handling from in mysql source

* use formatter for dates also (#15485)

* format

* tweak tests

* change test structure

* add test for data read from binlogs

* fix json schema types for data types

* handle cursor parsing

* add more tests

* remove assertion cause its not useful

Co-authored-by: Edward Gao <edward.gao@airbyte.io>
2022-08-12 19:44:44 +05:30
Liren Tu
c2152f4d17 Allow additional properties in db stream state (#15538)
* Allow additional properties in db stream state

* Bump postgres version

* Bump mysql version

* Bump mssql version

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-08-11 15:09:42 -07:00
Andrii Leonets
e7b9e00949 Fix multiply log bindings (#14801)
* Fix multiply log bindings

* Exclude slf4j-reload4j

* Exclude slf4j-log4j12 for debezium

* Increase version for debezium related sources and json converter related destinations

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* rebump bigquery versions

* mark destinations s3, gcs as unpublishd

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

Co-authored-by: subodh <subodh1810@gmail.com>
Co-authored-by: Greg Solovyev <grishick@users.noreply.github.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
Co-authored-by: Edward Gao <edward.gao@airbyte.io>
2022-08-03 09:36:30 -07:00
Edward Gao
b2dd470d3d Handle ints and longs in normalization (#14362)
* generate airbyte_type:integer

* normalization accepts `airbyte_type: integer`

* handles ints+longs

* update avro for consistency

* delete long type for now, treat all ints as longs

* update avro type mappings

{type:number, airbyte_type:integer} -> long
{type:number, airbyte_type:big_integer} -> string (i.e. "unbounded integer")

* fix test

* remove long handling

* Revert "remove long handling"

This reverts commit 33ade8d2831e675c3545ac6019d200ec312e54d9.

* Revert "update avro type mappings"

This reverts commit 5b0349badad7545efe8e1191291a628445fe1c84.

* Revert "delete long type for now, treat all ints as longs"

This reverts commit 018efd4a5d0c59f392fd8e3b0d0967c666b72947.

* Revert "update avro for consistency"

This reverts commit bcf47c6799b5906deb4f219d7f6e64ea73b41b74.

* newline@eof

* update test

* slightly better local tests

* fix test

* missed a few cases

* postgres tests use correct hostnames

* fix normalization

* fix int macro

* add test case

* normalization test output

* handle int/long correctly

* fix types for other DBs

* uint32 -> bigint; tests

* add type value assertions

* more test updates

* regenerate output

* reconcile big_integer to match docs

* update comment

* fix type

* fix mysql constructor call

* bigint only has 38 digits

* fix s3 ints, fix DAT test case

* big_integer should be string

* reduce to 28 digit big_ints

* fix test setup, mysql

* kill big_integer tests

* regenerate output

* version bumps

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-07-26 16:40:14 -07:00
Edward Gao
24efcedade 📝 improve error message when using unsupported JDBC type as cursor (#14714)
* improve error message

* also in JdbcSourceOperations

* bump versions + changelog

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-07-22 18:29:03 -07:00
Edward Gao
2cc595dba1 fix build: update mysqlsource with new constructor (#14974) 2022-07-22 16:21:14 -07:00
mkhokh-33
2d0640a8cd fixed formatting (#14958) 2022-07-22 16:00:26 +03:00