The ACCELWHERE= table
option enables a user to override the default state of an undeclared
WHERE processing optimization (HADOOPACCELWH=) setting. When SPD Server
is using a Hadoop environment, and the SPD Server WHERE processing
optimization feature state is not defined in the SPD Server parameter
file, the default configuration reverts to NO WHERE processing optimization.
You can override an undeclared HADOOPACCELWH= setting by issuing a
statement that contains the ACCELWHERE= table option set to YES.
If your SPD Server administrator
has enabled WHERE processing optimization via the HADOOPACCELWH= setting,
you can use the ACCELWHERE= table option to override and suppress
the Hadoop WHERE processing optimization. To override and suppress
a HADOOPACCELWH=YES setting, issue a statement that contains the ACCELWHERE=
table option set to NO.
Syntax
ACCELWHERE=YES | NO
Default
If undeclared, ACCELWHERE=
defaults to the value specified in the server HADOOPACLWHERE setting.
Arguments
YES
overrides the default
state of an undeclared HADOOPACCELWH= WHERE processing optimization
server parameter option. An undeclared HADOOPACCELWH= server parameter
option defaults to NO. Submitting the
table option ACCELWHERE=YES overrides the default state of the undeclared
server parameter option. If the HADOOPACCELWH= parameter option is
set to NO (instead of undeclared),
ACCELWHERE= table option settings are ignored, and WHERE processing
optimization is not performed.
NO
overrides (turns off)
WHERE processing optimization if it was previously configured via
a HADOOPACCELWH=YES statement in the SPD Server parameter file.
Macro Variable
Equivalent
The macro variable equivalent
to the ACCELWHERE= table option is the SPDSACWH= macro variable. Setting
SPDSACWH=YES is equivalent to setting ACCELWHERE=YES. If a conflict
exists from settings specified via the ACCELWHERE= table option and
the SPDSACWH= macro variable, the setting specified in the ACCELWHERE=
table option takes precedence.
For more detailed
information about the SPDSACWH= macro variable, see
Variables to Enhance Performance.
Example
PROC PRINT data=my_lib.my_table(ACCELWHERE=YES)
where x=1;
Note: Because SPD Server is able
to operate in select Hadoop environments, you might need to determine
whether a LIBNAME resides in a Hadoop domain. To determine whether
the LIBNAME my_lib is in a Hadoop domain, submit the following LIBNAME
LIST statement:LIBNAME my_lib LIST;. If the
queried LIBNAME is in a Hadoop domain, SPD Server returns HADOOP=YES to
the LIBNAME LIST query.