Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.9.4.1
-
None
Description
Consider a query like the following:
SELECT VALUE OBJECT_REMOVE_FIELDS(t, ["user"]) FROM (SELECT VALUE t FROM TinySocial.ChirpMessages t) t;
This query will retain all fields in the ChirpMessages except for user, but the SQL++ compiler will currently not understand this (viewing the function call as a black box in all likelihood). There is a future opportunity to gain performance by pushing the implied projection down lower in the query pipeline, in cases where the query is more complex.