Paresh
Paresh

Reputation: 564

Prestodb cassandraType is null error

I get this error when querying table in cassandra where there is date column. There is already open question in their git but no answer.

Error running command: Error starting query at http://localhost:8080/v1/statement returned an invalid response: JsonResponse{statusCode=500, statusMessage=Internal Server Error, headers={content-length=[7326], content-type=[text/plain], date=[Wed, 11 Apr 2018 15:36:41 GMT]}, hasValue=false} [Error: java.lang.NullPointerException: cassandraType is null

Upvotes: 3

Views: 493

Answers (2)

Piotr Findeisen
Piotr Findeisen

Reputation: 20770

Cassandra date type is supported since Presto 304.

Also, Presto was fixed not to throw NullPointerException: cassandraType is null when there is an unsupported data type.

Upvotes: 2

Laur
Laur

Reputation: 133

yes, It seems that the type date is not supported yet by cassandra connector. Here is the pull request for adding support for it: https://github.com/prestodb/presto/pull/7123

Upvotes: 1

Related Questions