UseCurrentSchema
- Last Updated: October 21, 2015
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Spark SQL 6.0
- Documentation
Purpose
Specifies whether results are restricted to the tables and views in the current schema if a call is made without specifying a schema or if the schema is specified as the wildcard character %. Restricting results to the tables and views in the current schema improves performance of calls that do not specify a schema.
Valid Values
true | false
Behavior
If set to true, the results that are
returned from getTables() and getColumns() methods are restricted to the tables and views in
the current schema.
If set to false, the results that are
returned from getTables() and getColumns() methods are not restricted.
Default
false
Data Type
Boolean