Skip to content

Conversation

@morningman
Copy link
Contributor

  1. Catch throwable of all stream load rpc.
  2. Avoid setting null string as error msg of rpc result status.

1. Catch throwable of all stream load rpc.
2. Avoid setting null string as error msg of rpc result status.
} catch (Throwable e) {
LOG.warn("catch unknown result.", e);
status.setStatus_code(TStatusCode.INTERNAL_ERROR);
status.setError_msgs(Lists.newArrayList(Strings.nullToEmpty(e.getMessage())));
Copy link
Contributor

Choose a reason for hiding this comment

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

call status.addToError_msgs instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed

@imay imay merged commit cddd864 into apache:master Nov 27, 2018
deardeng pushed a commit to deardeng/incubator-doris that referenced this pull request Apr 30, 2025
* CHECK_OVERFLOW_FOR_NUMBER_CAST
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.

2 participants