Paulo Humberto Lacerda e Silva created AVRO-3869:
----------------------------------------------------

             Summary: Error parsing fixed logical schemas
                 Key: AVRO-3869
                 URL: https://issues.apache.org/jira/browse/AVRO-3869
             Project: Apache Avro
          Issue Type: Bug
          Components: csharp
    Affects Versions: 1.11.2
            Reporter: Paulo Humberto Lacerda e Silva


Logical types works only for primitive types, and I can't deserialize an fixed 
type, like this one:

 
{code:java}
{
 "type": "fixed",
 "name": "LogicalFixed",
 "logicalType": "decimal",
 "precision": 4,
 "scale": 2,
  "size": 10
}

{code}
An exception is SchemaParseException raised ("Undefined name: fixed at 'type'")


This schema is autogenerated by PySpark, from a decimal type, and can't be 
parsed.
Spark docs: https://spark.apache.org/docs/latest/sql-data-sources-avro.html

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to