Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1053#discussion_r37847832
  
    --- Diff: 
flink-java/src/main/java/org/apache/flink/api/java/typeutils/TupleTypeInfo.java 
---
    @@ -174,13 +177,15 @@ public String toString() {
                        
                        TypeInformation<?> info = 
BasicTypeInfo.getInfoFor(type);
                        if (info == null) {
    -                           throw new IllegalArgumentException("Type at 
position " + i + " is not a basic type.");
    +                           try {
    +                                   info = 
ValueTypeInfo.getValueTypeInfo((Class<Value>) type);
    --- End diff --
    
    Any class can implement the `Value` interface.
     We need to check if the class is on of the "BasicValue" classes, that 
Flink ships.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to