Hello, I'm trying to configure presto to query pin...
# troubleshooting
d
Hello, I'm trying to configure presto to query pinot tables. The catalogue seems fine, I can show tables in Pinot. However when I issue a query I get the following error:
Query <id> failed: Cannot fetch from cache <table>
Any hints to fix this error would be appreciated
m
Are you able to run Pinot query directly? Also can you run explain on presto
d
The query runs in Pinot, is a simple statement
select * from <table> limit 1
. Explain returns the same error
I'm running Pinot 0.8.0 and Presto 0.261
I've enabled the debug flag in the Presto CLI and there is an issue parsing my schema. The stack trace says that
dataType
in
dimensionFieldSpec
can't be of type
TIMESTAMP
and only string, struct, boolean, bytes, float, list, not, double, map, long are valid
I believe this is a bug in the presto connector
I'll raise it in the prestodb project
Right, it seems Xiang has upgraded the dependency in pinot-driver already and I just need to wait for the next release
m
Thanks @Dan DC for finding this
d
No problem 👍