Skip to content

error message changes#598

Merged
AnkitCLI merged 1 commit intodata-integrations:developfrom
cloudsufi:e2e_errormsgfix
May 23, 2025
Merged

error message changes#598
AnkitCLI merged 1 commit intodata-integrations:developfrom
cloudsufi:e2e_errormsgfix

Conversation

@itsmekumari
Copy link
Contributor

@itsmekumari itsmekumari commented May 21, 2025

e2e Fix for dependent PR #597

@AnkitCLI AnkitCLI added the build label May 21, 2025
@itsmekumari itsmekumari force-pushed the e2e_errormsgfix branch 2 times, most recently from ea6b8ad to 341201e Compare May 22, 2025 05:04
@itsmekumari itsmekumari marked this pull request as ready for review May 22, 2025 08:00
@sgarg-CS sgarg-CS requested a review from itsankit-google May 22, 2025 08:08
'connection' is invalid: Failed to assign value
errorMessageInvalidsourcetable=Spark program 'phase-1' failed with error: Stage 'SQL Server' encountered : io.cdap.cdap.api.exception.ProgramFailureException: \
Error occurred while trying to get schema from database.Error message: 'Incorrect syntax near the keyword 'table'.'.
errorMessageInvalidsourcetable=Spark program 'phase-1' failed with error: Stage 'SQL Server' encountered : io.cdap.cdap.api.exception.ProgramFailureException:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error message needs to be changed here rather than making it generic:

Error occurred while trying to get schema from database.Error message: 'No tables used'. Error code: '1096'. SQLState: 'HY000'. Please check the system logs for more details.

similar comment for all other changes like SQL error while getting query schema: in the PR. We need to be more specific with error messages.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes done as suggested.

@AnkitCLI AnkitCLI merged commit 8ffb8d7 into data-integrations:develop May 23, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants