Skip to content

Conversation

@oerling
Copy link
Contributor

@oerling oerling commented Aug 29, 2025

…d as a whole

We have a case of f(make_row_from_map(c, ids, names)). f is unknown. When accessing the map as a row and projecting the columns of the row as top level columns, we expect make_row_from_map to become a row constructor.

This is different from the case of getters or oyther known functions over make_row_from_map, where the getter is replaced by the top level column and there is no make_row_from_map.

We add a hook to FunctionMetadata for this.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 29, 2025
@facebook-github-bot
Copy link
Contributor

@oerling has imported this pull request. If you are a Meta employee, you can view this in D81358390.

@facebook-github-bot
Copy link
Contributor

@oerling has imported this pull request. If you are a Meta employee, you can view this in D81358390.

@facebook-github-bot
Copy link
Contributor

@oerling has imported this pull request. If you are a Meta employee, you can view this in D81358390.

@facebook-github-bot
Copy link
Contributor

@oerling has imported this pull request. If you are a Meta employee, you can view this in D81358390.

oerling added a commit to oerling/verax that referenced this pull request Aug 30, 2025
facebookincubator#313)

Summary:
…d as a whole

We have a case of f(make_row_from_map(c, ids, names)). f is unknown. When accessing the map as a row and projecting the columns of the row as top level columns, we expect make_row_from_map to become a row constructor.

This is different from the case of getters or oyther known functions over make_row_from_map, where the getter is replaced by the top level column and there is no make_row_from_map.

We add a hook to FunctionMetadata for this.


Differential Revision: D81358390

Pulled By: oerling
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D81358390

@facebook-github-bot
Copy link
Contributor

@oerling has imported this pull request. If you are a Meta employee, you can view this in D81358390.

…d as a whole

We have a case of f(make_row_from_map(c, ids, names)). f is
unknown. When accessing the map as a row and projecting the columns of
the row as top level columns, we expect make_row_from_map to become a
row constructor.

This is different from the case of getters or oyther known functions over
make_row_from_map, where the getter is replaced by the top level
column and there is no make_row_from_map.

We add a hook to FunctionMetadata for this.
@facebook-github-bot
Copy link
Contributor

@oerling has imported this pull request. If you are a Meta employee, you can view this in D81358390.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants