zeroshade commented on code in PR #932:
URL: https://github.com/apache/iceberg-go/pull/932#discussion_r3203162696


##########
table/substrait/substrait.go:
##########
@@ -170,6 +171,11 @@ func (convertToSubstrait) VisitUnknown() types.Type {
        return nil
 }
 
+func (convertToSubstrait) VisitVariant() types.Type {
+       // Variant has no Substrait equivalent
+       return nil

Review Comment:
   First, we should create an integration test that *does* cause the panic 
you're describing. I agree that we should land something in this PR to avoid 
the panic, I don't think the placeholder would work for the projection though 
since the types wouldn't match. Lets try it out and test. If we need to create 
a user-defined type, then we might need to do that first potentially



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to