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 federated query LocalDateTime conversion #30935

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Conversation

zihaoAK47
Copy link
Member

Fixes #30764.

Changes proposed in this pull request:

  • Fix federated query LocalDateTime conversion

Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct of this project.
  • I have self-reviewed the commit code.
  • I have (or in comment I request) added corresponding labels for the pull request.
  • I have passed maven check locally : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.

}
this.currentRow = 1 == metaData.getColumnCount() ? rowValues[0] : rowValues;
}

private Object getValue(final int index) throws SQLException {
Copy link
Member

Choose a reason for hiding this comment

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

Can you add e2e test for this convert logic?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi mentor, there is no field related to datetime in the e2e standard table.

Copy link
Member

Choose a reason for hiding this comment

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

Thank you for your feedback, we could consider add a e2e test table which contains all data type.

@strongduanmu strongduanmu merged commit ef2c1d7 into apache:master Apr 17, 2024
142 checks passed
@zihaoAK47 zihaoAK47 deleted the dev branch April 18, 2024 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MySQL max() in nested subquery fails
2 participants