SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 56446: Renaming a BY variable in a MERGE statement in PROC DS2 returns an error

DetailsCodeHotfixAboutRate It

The SAS® In-Database Code Accelerator enables you to publish a DS2 threaded program to the database and execute that threaded program in parallel inside the database. The available databases are Hadoop, Teradata, and Greenplum. Errors like the following can occur when the PROC DS2 code includes a MERGE statement with a RENAME clause that renames one or more of the BY variables:

ERROR: General error java.sql.SQLException: Error while compiling statement: FAILED: SemanticException Failed to breakup Windowing invocations into Groups. At least 1 group must only depend on input columns. Also check for circular dependencies. ERROR: Failed to run DS2INDB. ERROR: Error returned from tkedsPubINDBDS2.

Click the Full Code tab to see an example of the syntax that generates the errors.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft Windows Server 2008 for x649.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 Datacenter9.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 R2 Std9.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 Std9.4 TS1M39.4 TS1M4
Windows 7 Enterprise 32 bit9.4 TS1M39.4 TS1M4
Windows 7 Enterprise x649.4 TS1M39.4 TS1M4
Windows 7 Home Premium 32 bit9.4 TS1M39.4 TS1M4
Windows 7 Home Premium x649.4 TS1M39.4 TS1M4
Windows 7 Professional 32 bit9.4 TS1M39.4 TS1M4
Windows 7 Professional x649.4 TS1M39.4 TS1M4
Windows 7 Ultimate 32 bit9.4 TS1M39.4 TS1M4
Windows 7 Ultimate x649.4 TS1M39.4 TS1M4
64-bit Enabled AIX9.4 TS1M39.4 TS1M4
64-bit Enabled Solaris9.4 TS1M39.4 TS1M4
HP-UX IPF9.4 TS1M39.4 TS1M4
Microsoft Windows Server 2008 R29.4 TS1M39.4 TS1M4
Microsoft Windows Server 20089.4 TS1M39.4 TS1M4
Microsoft Windows 109.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Pro x649.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Enterprise x649.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M39.4 TS1M4
Microsoft Windows 8 Pro 32-bit9.4 TS1M39.4 TS1M4
Microsoft Windows 8 Enterprise x649.4 TS1M39.4 TS1M4
Linux for x649.4 TS1M39.4 TS1M4
Solaris for x649.4 TS1M39.4 TS1M4
Microsoft Windows 8 Pro x649.4 TS1M39.4 TS1M4
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M39.4 TS1M4
Microsoft® Windows® for x649.4 TS1M39.4 TS1M4
* 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.