Skip to content

Fix compatibility issue with SqlTaskResource#14466

Merged
cheddar merged 2 commits intoapache:masterfrom
imply-cheddar:task-endpoint-error-compat
Jun 23, 2023
Merged

Fix compatibility issue with SqlTaskResource#14466
cheddar merged 2 commits intoapache:masterfrom
imply-cheddar:task-endpoint-error-compat

Conversation

@imply-cheddar
Copy link
Contributor

The DruidException changes broke the response format for errors coming back from the SqlTaskResource

The DruidException changes broke the response format
for errors coming back from the SqlTaskResource, so fix those
Copy link
Contributor

@kfaraz kfaraz left a comment

Choose a reason for hiding this comment

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

LGTM

@cheddar
Copy link
Contributor

cheddar commented Jun 23, 2023

The other_modules tests are complaining because the SqlTaskResource apparently never had tests put on it, so there's no coverage. This PR is just fixing the known compatibility issue and not fixing the fact that tests were never actually created to help catch such issues in the first place.

There also appears to be a flakey test in processing around HttpConfig. I've seen it pass and fail multiple times over now, I do not know why, but the CI has been pretty flakey with this PR and fighting with it to get clean green checks is just going to waste energy. So I'm going to merge as is.

@cheddar cheddar merged commit 7e2cf35 into apache:master Jun 23, 2023
@abhishekagarwal87 abhishekagarwal87 added this to the 27.0 milestone Jul 19, 2023
sergioferragut pushed a commit to sergioferragut/druid that referenced this pull request Jul 21, 2023
* Fix compatibility issue with SqlTaskResource

The DruidException changes broke the response format
for errors coming back from the SqlTaskResource, so fix those
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.

4 participants