SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 63493: You can use the newly added DATASOURCE option, SLICECOLUMN=, to specify which column to use with multinode mode

DetailsHotfixAboutRate It

Starting in SAS® Viya® 3.4, data connectors that use the serial data transfer mode can take advantage of multinode mode. This mode allows multiple CAS nodes to connect to a data source to help speed performance by dividing the table into slices with the use of the MOD function. To use multinode data transfer, specify a value other than 1 for the NUMREADNODES= option.  

Currently, the first numeric variable that is found is used to divide the table. The loadTable action and the LOAD statement in the CASUTIL procedure are being enhanced to allow you to specify which variable to use rather than using the default, which is the first variable found.  

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.

The hot fix includes the newly added DATASOURCE option, SLICECOLUMN=. 

Here is an example using the SLICECOLUMN option with the loadTable action:

s:loadtable{caslib="foo", source="emp", options={numReadNodes=0, sliceColumn="deptno"},  casout={caslib="casfoo" name="CASEMP"}}

Here is an example using the SLICECOLUMN option in the LOAD statement with PROC CASUTIL:

proc casutil;
load casdata="emp" incaslib="foo" casout="casemp" outcaslib="casfoo" options=(numReadNodes=0, sliceColumn="deptno");
quit;

You can also use the SLICECOLUMN= option with the save action and the SAVE statement with the NUMWRITENODES= option.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Data Connector to Amazon RedshiftLinux for x64V.03.04V.03.05ViyaViya
SAS SystemSAS Data Connector to MySQLLinux for x64V.03.04V.03.05ViyaViya
SAS SystemSAS Data Connector to OracleLinux for x64V.03.04V.03.05ViyaViya
SAS SystemSAS Data Connector to PostgreSQLMicrosoft® Windows® for x64V.03.04V.03.05ViyaViya
Linux for x64V.03.04V.03.05ViyaViya
SAS SystemSAS Data Connector to Microsoft SQL ServerLinux for x64V.03.04V.03.05ViyaViya
SAS SystemSAS Data Connector to ImpalaLinux for x64V.03.04V.03.05ViyaViya
SAS SystemSAS Data Connector to SAP HANALinux for x64V.03.04V.03.05ViyaViya
SAS SystemSAS Data Connector to DB2Linux for x64V.03.04V.03.05ViyaViya
SAS SystemSAS Data Connector to VerticaLinux for x64V.03.04V.03.05ViyaViya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.