Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1378

Python: custom properties not retained on primitive schemas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.5
    • None
    • python
    • None

    Description

      Example:

      {"type": "long", "date": "true"}
      

      This is a valid, parseable schema, but in Python implementation:

      >>> import avro.schema
      >>> sch = avro.schema.parse('{"type": "long", "date": "true"}')
      >>> sch
      <avro.schema.PrimitiveSchema object at 0x0D071510>
      >>> sch.props
      {'type': u'long'}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            dkaminsky Douglas Kaminsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: