A standard ODBC connection does not automatically transmit these session parameters without explicit configuration.
The Solution: The dbconinit Parameter
The key lies in using the dbconinit (Database Connection Initialization) option. This option allows you to specify an SQL command that will be executed immediately after the connection is established, but before any data is read or written.
This is the ideal place to put the ImpalaSET request_pool command.
Implementation
Here is the complete syntax for declaring your library. In this example, we connect to a DSN source named MYIMPALA and set the pool to a specific value.
The codes and examples provided on WeAreCAS.eu are for educational purposes. It is imperative not to blindly copy-paste them into your production environments. The best approach is to understand the logic before applying it. We strongly recommend testing these scripts in a test environment (Sandbox/Dev). WeAreCAS accepts no responsibility for any impact or data loss on your systems.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.