codelipenghui edited a comment on issue #5112: How to Date type -> AVRO -> 
Presto
URL: https://github.com/apache/pulsar/issues/5112#issuecomment-530636683
 
 
   @KannarFr This is my schema info(use pulsar-admin schemas get):
   ```json
   {
     "version": 2,
     "schemaInfo": {
       "name": "foo3",
       "schema": {
         "type": "record",
         "name": "UserV1",
         "namespace": "org.apache.pulsar.issue.SchemaTests$",
         "fields": [
           {
             "name": "age",
             "type": "int"
           },
           {
             "name": "timestamp",
             "type": [
               "null",
               {
                 "type": "long",
                 "logicalType": "timestamp-millis"
               }
             ]
           }
         ]
       },
       "type": "JSON",
       "properties": {
         "__alwaysAllowNull": "true"
       }
     }
   }
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to