java.lang.UnsupportedOperationException: com.facebook.presto.spi.type.DoubleType
See original GitHub issueI’m using latest Presto Server Version presto-server-0.214
…
Hive Create Table Query:
create external table some_table_name(col1 double,col2 double) partitioned by (col3 string) stored as parquet location 's3://<some location>';
The parquet file’s schema is:
{
"field_name": "col1",
"name": "col1",
"numpy_type": "float64",
"pandas_type": "float64"
}, {
"field_name": "col2",
"name": "col2",
"numpy_type": "float64",
"pandas_type": "float64"
}
Hive table created successfully but Presto throws below error,
java.lang.UnsupportedOperationException: com.facebook.presto.spi.type.DoubleType
Also tried setting hive.parquet.use-column-names=true
but no luck…
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Presto failed: com.facebook.presto.spi.type.VarcharType
I have found the answer for the problem, when I stored the data in s3, the data inside the file was with one...
Read more >com.facebook.presto.spi.type.VarcharType - Google Groups
Hi All,. I m using presto version 0.180. when i try to query table present in hive its giving following exception. java.lang.UnsupportedOperationException: ...
Read more >com.facebook.presto.spi.type.DoubleType Java Examples
This page shows Java code examples of com.facebook.presto.spi.type.DoubleType.
Read more >com.facebook.presto.plugin.jdbc.QueryBuilder Maven / Gradle ...
com.facebook.presto.plugin.jdbc.QueryBuilder maven / gradle build tool code. The class is part of the package ➦ Group: com.facebook.presto ➦ Artifact: ...
Read more >Presto でParquet にクエリするとjava.lang ... - ablog
Presto でParquet にクエリするとjava.lang.UnsupportedOperationException: com.facebook.presto.spi.type.LongDecimalType.
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
@santosh-kore Most likely the error is caused by schema mismatch between table schema and parquet schema. you can try add this patch to get a more user friendly error message. https://github.com/prestodb/presto/pull/11515
hey guys, i still see the issue? i am able to query from hive but presto keeps complaining about double.