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

Misc cleanup of qvalue code #1288

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Misc cleanup of qvalue code #1288

merged 1 commit into from
Feb 14, 2024

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Feb 14, 2024

Split out from #1285

@@ -169,6 +169,10 @@ func NewQValueAvroConverter(value QValue, targetDWH QDWHType, nullable bool) *QV
}

func (c *QValueAvroConverter) ToAvroValue() (interface{}, error) {
if c.Nullable && c.Value.Value == nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This makes a lot of the code below dead, but cleaning up that can be done later

@iskakaushik iskakaushik merged commit 68a4fe4 into main Feb 14, 2024
7 checks passed
@iskakaushik iskakaushik deleted the qvalue-cleanup branch February 14, 2024 13:23
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