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

Viewed 4701

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.

1 Answers

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.

Related