KannarFr edited a comment on issue #5112: How to Date type -> AVRO -> Presto URL: https://github.com/apache/pulsar/issues/5112#issuecomment-529988531 @congbobo184 @codelipenghui I used joda, with the logical schema type. like ```java @AvroSchema("{\"type\":\"long\",\"logicalType\":\"timestamp-millis\"}") public DateTime timestamp; ``` The output of `show columns from topic` ```sql timestamp.imillis | bigint | | ownerid | varchar | | ``` When I select this particular field I've got `Column 'timestamp.imillis' cannot be resolved` other fields (text, int) work well. The `select *` works and outputs ```sql | timestamp.imillis | ownerid | +-------------------+-------------------------------------------+ | 1568128483098 | orga_858600a8-74f4-4d75-a8a3-f5b368be093c | | 1568128480098 | orga_858600a8-74f4-4d75-a8a3-f5b368be093c | | 1568128481098 | orga_858600a8-74f4-4d75-a8a3-f5b368be093c | | 1568128482098 | orga_858600a8-74f4-4d75-a8a3-f5b368be093c | ```
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
