SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 65947: A FedSQL procedure hash join incorrectly returns zero rows in SAS® Cloud Analytic Services (CAS)

DetailsHotfixAboutRate It

In CAS, a PROC FedSQL hash join that joins a CAS view with an in-line view incorrectly returns zero rows.

Here is an example of a join that would trigger the issue:  

data mycas.x;
x='abcdefghijklmnopqrstuvwxyz';
run;
* Create a CAS view against the table. ;
proc cas;
view name='v' tables={{name='x'}};
quit;
* Join the view with a subquery that produces an intermediate result. ;
* The join should return 1 row. ;
proc cas;
fedsql.execdirect query="
  select
    *
  from
    v, (select distinct * from x) x
  where
    v.x = x.x";
quit;

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



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS ViyaMicrosoft Windows 103.4Viya
Microsoft Windows Server 2012 Datacenter3.4Viya
Microsoft Windows Server 2012 R2 Datacenter3.4Viya
Microsoft Windows Server 2012 R2 Std3.4Viya
Microsoft Windows Server 2012 Std3.4Viya
Microsoft Windows Server 20163.4Viya
Microsoft Windows Server 20193.4Viya
Linux for x643.4Viya
* 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.