You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an HDFS/Hive instance set up using MySQL as a metastore.
Running the following version of Hadoop: hadoop-1.2.1
Running the following version of Hive: hive-0.12.0
Running the following version of Presto Server: presto-server-0.54
Running the following version of Discovery Server: discovery-server-1.16
Using the following Presto CLI: presto-cli-0.54-executable.jar
I have a Hive Table created as follows:
[localhost:10001] hive> describe stats;
A int None
B smallint None
C tinyint None
D tinyint None
E varchar(64) None
F smallint None
G int None
H bigint None
I int None
J bigint None
K int None
L bigint None
hour int None
# Partition Information
# col_name data_type comment
hour int None
The table appears to work well in Hive. It is correctly populated with data. However, when I attempt to query the table via Presto, I see errors:
presto:default> describe stats;
Query 20131205_215319_00040_y5j69, FAILED, 1 node
Splits: 2 total, 0 done (0.00%)
0:00 [0 rows, 0B] [0 rows/s, 0B/s]
Query 20131205_215319_00040_y5j69 failed: MetaException(message:java.lang.IllegalArgumentException Error: type expected at the position 29 of 'int:smallint:tinyint:tinyint:varchar(64):smallint:int:bigint:int:bigint:int:bigint' but 'varchar' is found.)
presto:default> select count(1) from stats;
Query 20131205_215340_00041_y5j69 failed: MetaException(message:java.lang.IllegalArgumentException Error: type expected at the position 29 of 'int:smallint:tinyint:tinyint:varchar(64):smallint:int:bigint:int:bigint:int:bigint' but 'varchar' is found.)
There is not a lot of debug information:
2013-12-05T21:54:59.748+0000 DEBUG query-scheduler-33 com.facebook.presto.execution.QueryStateMachine Query 20131205_215459_00042_y5j69 is PLANNING
2013-12-05T21:54:59.749+0000 DEBUG query-scheduler-34 com.facebook.presto.execution.QueryStateMachine Query 20131205_215459_00042_y5j69 is FAILED
Presto appears to work correctly with tables that do not contain 'varchar' types:
I have an HDFS/Hive instance set up using MySQL as a metastore.
Running the following version of Hadoop: hadoop-1.2.1
Running the following version of Hive: hive-0.12.0
Running the following version of Presto Server: presto-server-0.54
Running the following version of Discovery Server: discovery-server-1.16
Using the following Presto CLI: presto-cli-0.54-executable.jar
I have a Hive Table created as follows:
The table appears to work well in Hive. It is correctly populated with data. However, when I attempt to query the table via Presto, I see errors:
There is not a lot of debug information:
Presto appears to work correctly with tables that do not contain 'varchar' types:
Does Presto not support 'varchar' field types?
The text was updated successfully, but these errors were encountered: