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

Tuple scan respects both value and pointer variable #971

Merged
merged 4 commits into from
May 15, 2023

Conversation

crisismaple
Copy link
Contributor

Summary

Now scan result of tuple typed column is *[]interface{}/*map[string]interface{} instead of []interface{}/map[string]interface{}, since tuple type is not allowed to be nullable in CH, the destination type of tuple columns should not be pointer.

Checklist

Delete items not relevant to your PR:

  • Unit and integration tests covering the common scenarios were added

@crisismaple crisismaple changed the title Fix: Make tuple scan logic respect the ptr flag Fix: Make tuple scan logic respect the ptr flag Apr 14, 2023
@jkaflik
Copy link
Contributor

jkaflik commented May 12, 2023

@crisismaple could you resolve the conflict?

@crisismaple
Copy link
Contributor Author

@crisismaple could you resolve the conflict?

Sure, just update the PR

Copy link
Contributor

@jkaflik jkaflik left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM

@jkaflik jkaflik changed the title Fix: Make tuple scan logic respect the ptr flag Tuple scan respects both value and pointer variable May 15, 2023
@jkaflik jkaflik added the fix label May 15, 2023
@jkaflik jkaflik merged commit 958b917 into ClickHouse:main May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants