UseCurrentSchema
- Last Updated: June 20, 2017
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Hive 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.
Data Source Method
setUseCurrentSchema
Default
false
Data Type
Boolean