Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: simplify pull query error message #5672

Merged

Conversation

big-andy-coates
Copy link
Contributor

Description

fixes: #3615

Simplifies the error message when an invalid pull query is issued. Importantly, the phase

Add EMIT CHANGES if you intended to issue a push query.

Is the second line in every case. Hopefully calling out what needs to be done if the user meant to issue a push query.

Testing done

Usual

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

fixes: confluentinc#3615

Simplifies the error message when an invalid pull query is issued. Importantly, the phase

```
Add EMIT CHANGES if you intended to issue a push query.
```

Is the second line in every case. Hopefully calling out what needs to be done if the user meant to issue a push query.
@big-andy-coates big-andy-coates requested a review from a team as a code owner June 23, 2020 23:10
Copy link
Contributor

@vcrfxia vcrfxia left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

Copy link
Contributor

@agavra agavra left a comment

Choose a reason for hiding this comment

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

LGTM

@big-andy-coates big-andy-coates merged commit 9bc4755 into confluentinc:master Jun 24, 2020
@big-andy-coates big-andy-coates deleted the pull_query_error_msg branch June 24, 2020 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider optimizing "Table is not materialized" error for missing EMIT CHANGES
3 participants