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 mismatched return type of EXTRACT #1643

Merged
merged 3 commits into from
Mar 25, 2021
Merged

Fix mismatched return type of EXTRACT #1643

merged 3 commits into from
Mar 25, 2021

Conversation

leiysky
Copy link
Contributor

@leiysky leiysky commented Mar 25, 2021

Signed-off-by: Yu Lei [email protected]

What problem does this PR solve?

Related to #1641

Problem Summary:

What is changed and how it works?

What's Changed:

How it Works:
The root cause is FunctionExtractMyDateTime will return Nullable(Int64) as its return type anyway but actually return ColumnInt64 as its data output. This issue may break TPCH Q7 in MPP mode.

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

  • Integration test

Release note

  • No release note

Signed-off-by: Yu Lei <[email protected]>
@leiysky leiysky added type/bugfix This PR fixes a bug. needs-cherry-pick-release-5.0 PR which needs to be cherry-picked to release-5.0 labels Mar 25, 2021
@leiysky leiysky requested a review from windtalker March 25, 2021 07:35
@leiysky
Copy link
Contributor Author

leiysky commented Mar 25, 2021

/run-all-tests

Signed-off-by: Yu Lei <[email protected]>
Copy link
Contributor

@windtalker windtalker left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Mar 25, 2021
@windtalker windtalker added the status/can-merge Indicates a PR has been approved by a committer. label Mar 25, 2021
@ti-srebot
Copy link
Collaborator

Your auto merge job has been accepted, waiting for:

  • 1644

@ti-srebot
Copy link
Collaborator

/run-all-tests

@ti-srebot
Copy link
Collaborator

@leiysky merge failed.

@leiysky
Copy link
Contributor Author

leiysky commented Mar 25, 2021

/merge

@ti-srebot
Copy link
Collaborator

/run-all-tests

@ti-srebot ti-srebot merged commit 20ae1ec into pingcap:master Mar 25, 2021
@ti-srebot
Copy link
Collaborator

cherry pick to release-5.0 in PR #1650

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-cherry-pick-release-5.0 PR which needs to be cherry-picked to release-5.0 status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants