Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1303

Avro reflect @Stringable field write error if field not instanceof CharSequence

    XMLWordPrintableJSON

Details

    Description

      Annotate a field in a pojo with org.apache.avro.reflect.Stringable and the schema will consider it to be a String field. AvroWriteSupport.fromAvroString assumes the field is either a Utf8 or CharSequence and does not attempt to use the field class' toString method if it is not.

      Attachments

        Issue Links

          Activity

            People

              zebehringer Zack Behringer
              zebehringer Zack Behringer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: