How to Date type -> AVRO -> Presto
See original GitHub issueHi,
First question, java.time.LocalDateTime
is supported?
Second about this issue:
I’ve got a schema with timestamp value, I tried to encode it using the example provided via Joda. Here is the schema for this attribute:
{
"name": "timestamp",
"type": {
"type": "record",
"name": "DateTime",
"namespace": "org.joda.time",
"fields": [
{
"name": "iMillis",
"type": "long"
},
{
"name": "iChronology",
"type": {
"type": "record",
"name": "Chronology",
"fields": []
}
}
]
}
},
How get a generic date type, not jvm one, to output it as timestamp type in presto?
For this I’ve got presto typed as timestamp.imillis | bigint | |
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
Date and Time Functions and Operators - Presto
Returns the current time zone in the format defined by IANA (e.g., America/Los_Angeles ) or as fixed offset from UTC (e.g., +08:35 )....
Read more >Does all of three: Presto, hive and impala support Avro data ...
Primarily, I am looking for avro support with Presto now. However, lets consider following data formats stored on HDFS: Avro format; Parquet ...
Read more >Avro Parser Function - Product Documentation
Using the Avro Parser Function from the Treasure Data Console ... If it does not, you can manually select it from the Parser...
Read more >Complex Data Types - Okera Documentation
Complex type support applies to data stored in Avro, Parquet and JSON formats. ... The examples below reflect the expected Presto experience.
Read more >Avro Tables - Qubole Data Service Documentation
Qubole supports creating Hive tables against data in Avro format. Getting Avro schema from a file¶. If you have an Avro file, you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@codelipenghui @congbobo184 can any of you help @KannarFr with his question? Also if the documentation is missing, it might be worth improving the documentation about this part.
@KannarFr is your question answered?