Phaedrus
Phaedrus

Reputation: 63

How do you check what version of Presto you are using?

Postgres has:

SELECT VERSION();

What is the Presto equivalent?

I've taken a look through Presto docs, but was not able to find an equivalent.

Upvotes: 3

Views: 6804

Answers (1)

kokosing
kokosing

Reputation: 5601

Have you tried the below?

SELECT node_version FROM system.runtime.nodes;

I tested on Presto 319 and Starburst Presto 312-e, but should work with pretty any Presto version.

Upvotes: 14

Related Questions