ASTERIXDB-1168: fix queries with duplicates in a subplan's input.

Fixed PushSelectDown to consider stateful functions;
Added a primary key visitor to generate/progate primary key information.

Change-Id: I83907c29699a76540abd1a246776f55576eeced8
Reviewed-on: https://asterix-gerrit.ics.uci.edu/695
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <tillw@apache.org>
11 files changed
tree: 9c9b26361933f9260f4ea156e2c54e3a5c8ee6b4
  1. .gitignore
  2. DISCLAIMER
  3. LICENSE
  4. NOTICE
  5. algebricks/
  6. hyracks/
  7. pom.xml
  8. src/