What is the difference between a user and a role?

How can I create each one? I saw the syntax for CREATE ROLE but I didn’t find the syntax to create a user.

Answer: ROLE and USER are the same thing. The notion of a USER exists in some connectors based on how they implement these things, but in Trino, it’s will be consistently referred to as a ROLE, and that maps into the connectors as needed.

1 Like