Filtering an Empty Array Returns an Empty Result

When in operates on an empty array in a filter operation, everything is filtered and the results are empty. In the previous release, the operation didn’t filter anything.


This change may break existing SAQL code. Update existing code to use this new behavior.

The second statement filters everything and returns empty results:
a = load "0Fbxx000000002qCAA/0Fcxx000000002WCAQ";
a = filter a by Year in [];
c = group a by ('Year', 'Name');
d = foreach c generate 'Name' as 'group::AName', 'Year' as 'group::Year', sum(accounts::Revenue) as 'sRev';