Skip to content

Commit 852bcba

Browse files
committed
cloudsqlpostgresql changes
1 parent c31c021 commit 852bcba

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

cloudsql-mysql-plugin/src/e2e-test/resources/errorMessage.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
errorMessageInvalidSourceDatabase=Error occurred while trying to get schema from database.Error message: 'Access denied for user '
1+
errorMessageInvalidSourceDatabase=Error occurred while trying to get schema from database.
22
errorMessageInvalidImportQuery=Import Query select must contain the string '$CONDITIONS'. if Number of Splits is not set\
33
\ to 1. Include '$CONDITIONS' in the Import Query
44
errorMessageCloudMySqlInvalidReferenceName=Invalid reference name

cloudsql-postgresql-plugin/src/e2e-test/resources/errorMessage.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ errorMessageInvalidNumberOfSplits=Invalid value for Number of Splits '0'. Must b
77
errorMessageNumberOfSplitNotNumber=Unable to create config for batchsource CloudSQLPostgreSQL 'numSplits' is invalid: Value of \
88
field class io.cdap.plugin.db.config.AbstractDBSpecificSourceConfig.numSplits is expected to be a number.
99
errorMessageInvalidFetchSize=Invalid fetch size. Fetch size must be a positive integer.
10-
errorMessageInvalidSourceDatabase=SQL error while getting query schema: Error: FATAL: database "invalidDatabase" does not exist,
10+
errorMessageInvalidSourceDatabase=Error occurred while trying to get schema from database.Error message: 'FATAL: database "invalidDatabase" does not exist'.
1111
errorMessageInvalidImportQuery=Import Query select must contain the string '$CONDITIONS'. if Number of Splits is not set\
1212
\ to 1. Include '$CONDITIONS' in the Import Query
1313
errorMessageBlankUsername=Username is required when password is given.
14-
errorMessageBlankPassword=SQL error while getting query schema:
15-
errorMessageInvalidPassword=SQL error while getting query schema: Error: FATAL: password authentication failed for user
14+
errorMessageBlankPassword=Error occurred while trying to get schema from database.Error message: 'Something unusual has occurred to cause the driver to fail.
15+
errorMessageInvalidPassword=Error occurred while trying to get schema from database.Error message: 'FATAL: password authentication failed for user
1616
errorMessageInvalidSourceHost=SQL error while getting query schema: The connection attempt failed.
1717
errorMessageInvalidTableName=Table 'table' does not exist. Ensure table '"table"' is set correctly and that the
1818
errorMessageInvalidSinkDatabase=Error occurred while trying to get schema from database.Error message: 'FATAL: database "invalidDB" does not exist'. Error code: '0'. SQLState: '3D000''

mssql-plugin/src/e2e-test/resources/errorMessage.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ errorMessageInvalidNumberOfSplits=Invalid value for Number of Splits '0'. Must b
1010
errorMessageNumberOfSplitNotNumber=Unable to create config for batchsource
1111
errorMessageBoundingQuery=Bounding Query must be specified if Number of Splits is not set to 1.
1212
errorMessagenumofSplit=Split-By Field Name must be specified if Number of Splits is not set to 1.
13-
errorMessageInvalidSinkDatabase=Exception while trying to validate schema of database table
13+
errorMessageInvalidSinkDatabase=Error encountered while configuring the stage: 'Error occurred while trying to get schema from database.Error message: 'Cannot open database "test123" requested by the login.
1414
errorMessageInvalidSinkTableName=Table 'Table123@' does not exist.
1515
errormessageBlankHost=Error encountered while configuring the stage: 'Error occurred while trying to get schema from database.Error message: 'The TCP/IP connection to the host localhost, port 1433 has failed. Error: "Connection refused (Connection refused). \
1616
Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".'. Error code: '0'. SQLState: '08S01''

mysql-plugin/src/e2e-test/resources/errorMessage.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ invalidtableName.error.message=Table '123#' does not exist. Ensure table '123#'
44
invalidreferenceName.error.message=Invalid reference name
55
invalid.host.message=Error encountered while configuring the stage: 'Error occurred while trying to get schema from database.Error message: 'Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.'. Error code: '0'. SQLState: '08S01''
66
invalid.password.message=Error occurred while trying to get schema from database.Error message: 'Access denied for user '
7-
invalid.databasename.message=Error occurred while trying to get schema from database.Error message: 'Access denied for user '
7+
invalid.databasename.message=Error occurred while trying to get schema from database.
88
invalid.query.message=Error occurred while trying to get schema from database.Error message: 'No tables used'.
99
numberofsplits.error.message=Unable to create config for batchsource Mysql 'numSplits' is invalid
1010
boundingQuery.error.message=Bounding Query must be specified if Number of Splits is not set to 1.

oracle-plugin/src/e2e-test/resources/errorMessage.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ errorMessageInvalidImportQuery=Import Query select must contain the string '$CON
1212
\ to 1. Include '$CONDITIONS' in the Import Query
1313
errorMessageBlankUsername=Username is required when password is given.
1414
errorMessageInvalidTableName=Error encountered while configuring the stage: 'Error occurred while trying to get schema from database.Error message: 'IO Error: Unknown host specified '. Error code: '17002'. SQLState: '08006''
15-
errorMessageInvalidSinkDatabase=Error encountered while configuring the stage: 'Error occurred while trying to get schema from database.Error message: 'IO Error: Unknown host specified '. Error code: '17002'. SQLState: '08006''
15+
errorMessageInvalidSinkDatabase=Error encountered while configuring the stage: 'Error occurred while trying to get schema from database.
1616
errorMessageInvalidHost=Error encountered while configuring the stage: 'Error occurred while trying to get schema from database.Error message: 'IO Error: Unknown host specified '. Error code: '17002'. SQLState: '08006''
1717
errorLogsMessageInvalidBoundingQuery=Spark program 'phase-1' failed with error: Stage 'Oracle' encountered : \
1818
java.io.IOException: ORA-00936: missing expression . Please check the system logs for more details.

0 commit comments

Comments
 (0)