FedSQL Action Set: Syntax

Provides actions for submitting SQL statements

execDirect Action

Submits a SAS FedSQL language statement for immediate execution.

CASL Syntax

fedSql.execDirect <result=results> <status=rc> /
cntl={
disablePassThrough=TRUE | FALSE,
dynamicCardinality=TRUE | FALSE,
preserveJoinOrder=TRUE | FALSE,
showStages=TRUE | FALSE
},
method=TRUE | FALSE,
required parameter query="string",
showPlan=TRUE | FALSE,
showStages=TRUE | FALSE,
validateOnly=TRUE | FALSE
;
indicates a required parameter

Parameter Descriptions

cntl={Control}

specifies optional control parameters.

The Control value can be one or more of the following:

disablePassThrough=TRUE | FALSE

when set to True, disables FedSQL implicit pass-through.

DefaultFALSE
dynamicCardinality=TRUE | FALSE

when set to True, the FedSQL query planner performs cardinality estimations of the input data.

DefaultFALSE
optimizeVarbinaryPrecision=TRUE | FALSE

when set to True, optimizes VARBINARY precision by using a precision that is appropriate to the actual data, instead of the declared precision.

DefaultFALSE
optimizeVarcharPrecision=TRUE | FALSE

when set to True, optimizes VARCHAR precision by using a precision that is appropriate to the actual data, instead of the declared precision.

DefaultFALSE
preserveJoinOrder=TRUE | FALSE

when set to True, joins tables in the specified order instead of an order chosen by the FedSQL query optimizer.

DefaultFALSE
requireFullPassThrough=TRUE | FALSE

when set to True, stops processing if FedSQL implicit pass-through of the full query cannot be achieved. No data is loaded into CAS and no output table or result set is produced.

DefaultFALSE
showStages=TRUE | FALSE

when set to True, prints a brief description of FedSQL query plans along with details of query execution.

DefaultFALSE

method=TRUE | FALSE

when set to True, prints a brief description of the FedSQL query plan.

DefaultFALSE

* query="string"

specifies a SAS FedSQL language statement.

showPlan=TRUE | FALSE

when set to True, prints an XML tree representing the FedSQL query plan.

DefaultFALSE

showStages=TRUE | FALSE

when set to True, prints a brief description of FedSQL query plans along with details of query execution.

DefaultFALSE

validateOnly=TRUE | FALSE

when set to True, validates the query syntax and returns without executing the query.

DefaultFALSE

execDirect Action

Submits a SAS FedSQL language statement for immediate execution.

Lua Syntax

results, info = s:fedSql_execDirect{
cntl={
disablePassThrough=true | false,
dynamicCardinality=true | false,
preserveJoinOrder=true | false,
showStages=true | false
},
method=true | false,
required parameter query="string",
showPlan=true | false,
showStages=true | false,
validateOnly=true | false
}
indicates a required parameter

Parameter Descriptions

cntl={Control}

specifies optional control parameters.

The Control value can be one or more of the following:

disablePassThrough=true | false

when set to True, disables FedSQL implicit pass-through.

Defaultfalse
dynamicCardinality=true | false

when set to True, the FedSQL query planner performs cardinality estimations of the input data.

Defaultfalse
optimizeVarbinaryPrecision=true | false

when set to True, optimizes VARBINARY precision by using a precision that is appropriate to the actual data, instead of the declared precision.

Defaultfalse
optimizeVarcharPrecision=true | false

when set to True, optimizes VARCHAR precision by using a precision that is appropriate to the actual data, instead of the declared precision.

Defaultfalse
preserveJoinOrder=true | false

when set to True, joins tables in the specified order instead of an order chosen by the FedSQL query optimizer.

Defaultfalse
requireFullPassThrough=true | false

when set to True, stops processing if FedSQL implicit pass-through of the full query cannot be achieved. No data is loaded into CAS and no output table or result set is produced.

Defaultfalse
showStages=true | false

when set to True, prints a brief description of FedSQL query plans along with details of query execution.

Defaultfalse

method=true | false

when set to True, prints a brief description of the FedSQL query plan.

Defaultfalse

* query="string"

specifies a SAS FedSQL language statement.

showPlan=true | false

when set to True, prints an XML tree representing the FedSQL query plan.

Defaultfalse

showStages=true | false

when set to True, prints a brief description of FedSQL query plans along with details of query execution.

Defaultfalse

validateOnly=true | false

when set to True, validates the query syntax and returns without executing the query.

Defaultfalse

execDirect Action

Submits a SAS FedSQL language statement for immediate execution.

Python Syntax

results= s.fedSql.execDirect(
cntl={
"disablePassThrough":True | False,
"dynamicCardinality":True | False,
"optimizeVarcharPrecision":True | False,
"preserveJoinOrder":True | False,
"requireFullPassThrough":True | False,
"showStages":True | False
},
method=True | False,
required parameter query="string",
showPlan=True | False,
showStages=True | False,
validateOnly=True | False
)
indicates a required parameter

Parameter Descriptions

cntl={Control}

specifies optional control parameters.

The Control value can be one or more of the following:

"disablePassThrough":True | False

when set to True, disables FedSQL implicit pass-through.

DefaultFalse
"dynamicCardinality":True | False

when set to True, the FedSQL query planner performs cardinality estimations of the input data.

DefaultFalse
"optimizeVarbinaryPrecision":True | False

when set to True, optimizes VARBINARY precision by using a precision that is appropriate to the actual data, instead of the declared precision.

DefaultFalse
"optimizeVarcharPrecision":True | False

when set to True, optimizes VARCHAR precision by using a precision that is appropriate to the actual data, instead of the declared precision.

DefaultFalse
"preserveJoinOrder":True | False

when set to True, joins tables in the specified order instead of an order chosen by the FedSQL query optimizer.

DefaultFalse
"requireFullPassThrough":True | False

when set to True, stops processing if FedSQL implicit pass-through of the full query cannot be achieved. No data is loaded into CAS and no output table or result set is produced.

DefaultFalse
"showStages":True | False

when set to True, prints a brief description of FedSQL query plans along with details of query execution.

DefaultFalse

method=True | False

when set to True, prints a brief description of the FedSQL query plan.

DefaultFalse

* query="string"

specifies a SAS FedSQL language statement.

showPlan=True | False

when set to True, prints an XML tree representing the FedSQL query plan.

DefaultFalse

showStages=True | False

when set to True, prints a brief description of FedSQL query plans along with details of query execution.

DefaultFalse

validateOnly=True | False

when set to True, validates the query syntax and returns without executing the query.

DefaultFalse

execDirect Action

Submits a SAS FedSQL language statement for immediate execution.

R Syntax

results <– cas.fedSql.execDirect(s,
cntl=list(
disablePassThrough=TRUE | FALSE,
dynamicCardinality=TRUE | FALSE,
preserveJoinOrder=TRUE | FALSE,
showStages=TRUE | FALSE
),
method=TRUE | FALSE,
required parameter query="string",
showPlan=TRUE | FALSE,
showStages=TRUE | FALSE,
validateOnly=TRUE | FALSE
)
indicates a required parameter

Parameter Descriptions

cntl=list(Control)

specifies optional control parameters.

The Control value can be one or more of the following:

disablePassThrough=TRUE | FALSE

when set to True, disables FedSQL implicit pass-through.

DefaultFALSE
dynamicCardinality=TRUE | FALSE

when set to True, the FedSQL query planner performs cardinality estimations of the input data.

DefaultFALSE
optimizeVarbinaryPrecision=TRUE | FALSE

when set to True, optimizes VARBINARY precision by using a precision that is appropriate to the actual data, instead of the declared precision.

DefaultFALSE
optimizeVarcharPrecision=TRUE | FALSE

when set to True, optimizes VARCHAR precision by using a precision that is appropriate to the actual data, instead of the declared precision.

DefaultFALSE
preserveJoinOrder=TRUE | FALSE

when set to True, joins tables in the specified order instead of an order chosen by the FedSQL query optimizer.

DefaultFALSE
requireFullPassThrough=TRUE | FALSE

when set to True, stops processing if FedSQL implicit pass-through of the full query cannot be achieved. No data is loaded into CAS and no output table or result set is produced.

DefaultFALSE
showStages=TRUE | FALSE

when set to True, prints a brief description of FedSQL query plans along with details of query execution.

DefaultFALSE

method=TRUE | FALSE

when set to True, prints a brief description of the FedSQL query plan.

DefaultFALSE

* query="string"

specifies a SAS FedSQL language statement.

showPlan=TRUE | FALSE

when set to True, prints an XML tree representing the FedSQL query plan.

DefaultFALSE

showStages=TRUE | FALSE

when set to True, prints a brief description of FedSQL query plans along with details of query execution.

DefaultFALSE

validateOnly=TRUE | FALSE

when set to True, validates the query syntax and returns without executing the query.

DefaultFALSE
Last updated: August 11, 2021