-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
A-io-databaseArea: reading/writing to databasesArea: reading/writing to databasesenhancementNew feature or an improvement of an existing featureNew feature or an improvement of an existing feature
Description
Description
connectorx 0.4.2 introduces a new parameter called pre_execution_query in read_sql
function. This feature should be added to pl.read_database_uri
.
pre_execution_query: Optional[Union[str, List[str]]]: SQL query or list of SQL queries executed before main query. Can be used to set runtime configurations using SET statements. Only applicable for source “Postgres” and “MySQL”
The pre_execution_query
serves use cases where user needs to issue SET statements to setup session configurations such as timeouts and transaction level.
lmocsi, redfave and mcrumiller
Metadata
Metadata
Assignees
Labels
A-io-databaseArea: reading/writing to databasesArea: reading/writing to databasesenhancementNew feature or an improvement of an existing featureNew feature or an improvement of an existing feature