Skip to content

Conversation

@caiconghui
Copy link
Contributor

Proposed changes

Issue Number: close #8093

Problem Summary:

This Bug is introduced by PR #7936 , which change key type of connectionMap from Long to Integer, which cause connectionMap could not find connectContext by connectionId

Checklist(Required)

  1. Does it affect the original behavior: (No)
  2. Has unit tests been added: (No)
  3. Has document been added or modified: (No)
  4. Does it need to update dependencies: (No)
  5. Are there any changes that cannot be rolled back: (No)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@jackwener jackwener added the kind/fix Categorizes issue or PR as related to a bug. label Feb 16, 2022
@yiguolei
Copy link
Contributor

Why change connection id from long to int?

@caiconghui
Copy link
Contributor Author

Why change connection id from long to int?

the original type of connection id in connect context in is int,

@caiconghui
Copy link
Contributor Author

Why change connection id from long to int?

The value range of connection id is from int_min to int_max, I think it is enough, so I don't change the connection id type in connection context

@yiguolei
Copy link
Contributor

LGTM

Copy link
Contributor

@weizuo93 weizuo93 left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Feb 18, 2022
@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@morningman morningman merged commit 9df5b2d into apache:master Feb 19, 2022
@caiconghui caiconghui deleted the bug_fix_connection branch March 12, 2022 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. kind/fix Categorizes issue or PR as related to a bug. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Execute showVariablesStmt with where expression return empty resultset

5 participants