PrestoSession-class function

Class to encapsulate a Presto session

Class to encapsulate a Presto session

A session contains temporary attributes and information that are only useful for the session. It's attached to a PrestoConnection for as long as as the connection lives. There are a few types of information stored.

  1. Session properties that can be set via query response headers and need to be sent with following HTTP requests.
  2. Common table expressions (CTEs) that can be used to store a subquery and be used in a WITH statement. class

Slots

  • .parameters: List of Presto session parameters to be added to the X-Presto-Session header.
  • .ctes: List of common table expressions (CTEs), i.e. SELECT statements with names. They can be used in a WITH statement.
  • Maintainer: Jarod G.R. Meng
  • License: BSD_3_clause + file LICENSE
  • Last published: 2025-01-08