Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: support unknown in map_from_entries function #6353

Closed

Conversation

laithsakka
Copy link
Contributor

@laithsakka laithsakka commented Aug 30, 2023

Summary:
presto support
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
and
try (select MAP_FROM_ENTRIES(ARRAY[null]))

Differential Revision: D48837795

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 30, 2023
@facebook-github-bot
Copy link
Contributor

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

@netlify
Copy link

netlify bot commented Aug 30, 2023

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 5602309
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/650877c6a7f09100084c65ed

@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Aug 30, 2023
…6353)

Summary:
Pull Request resolved: facebookincubator#6353

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Differential Revision: D48837795

fbshipit-source-id: 2d9cc9644b3b917133efed9130a7ff9e085848bd
@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Aug 31, 2023
…6353)

Summary:
Pull Request resolved: facebookincubator#6353

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Differential Revision: D48837795

fbshipit-source-id: b581359fbf96684fe85f5fe00ac12e3ce15d5ab3
@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Aug 31, 2023
…6353)

Summary:
Pull Request resolved: facebookincubator#6353

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Differential Revision: D48837795

fbshipit-source-id: cf5a3c8fcf9ed3f55764789ed712febb15a2349a
laithsakka added a commit to laithsakka/velox that referenced this pull request Sep 14, 2023
…6353)

Summary:

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Differential Revision: D48837795
@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Sep 14, 2023
…6353)

Summary:

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Differential Revision: D48837795
@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Sep 14, 2023
…6353)

Summary:

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Differential Revision: D48837795
@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Sep 14, 2023
…6353)

Summary:

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Differential Revision: D48837795
@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@mbasmanova mbasmanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

rows.end(),
sizes,
offsets,
BaseVector::create(UNKNOWN(), 0, context.pool()),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can pass nullptr here

@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Sep 14, 2023
…6353)

Summary:
Pull Request resolved: facebookincubator#6353

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Reviewed By: mbasmanova

Differential Revision: D48837795

fbshipit-source-id: 1b78a2ed4fce651f644f35f399f0e24574149f1d
laithsakka added a commit to laithsakka/velox that referenced this pull request Sep 15, 2023
…6353)

Summary:

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Reviewed By: mbasmanova

Differential Revision: D48837795
@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Sep 15, 2023
…6353)

Summary:

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Reviewed By: mbasmanova

Differential Revision: D48837795
@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Sep 15, 2023
…6353)

Summary:

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Reviewed By: mbasmanova

Differential Revision: D48837795
@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Sep 15, 2023
…6353)

Summary:

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Reviewed By: mbasmanova

Differential Revision: D48837795
@facebook-github-bot
Copy link
Contributor

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

…6353)

Summary:

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Reviewed By: mbasmanova

Differential Revision: D48837795
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a3c4aac.

@conbench-facebook
Copy link

Conbench analyzed the 1 benchmark run on commit a3c4aac6.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

codyschierbeck pushed a commit to codyschierbeck/velox that referenced this pull request Sep 27, 2023
…6353)

Summary:
Pull Request resolved: facebookincubator#6353

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Reviewed By: mbasmanova

Differential Revision: D48837795

fbshipit-source-id: 372097d333f9f90a5de4507c584d29388dd18d95
codyschierbeck pushed a commit to codyschierbeck/velox that referenced this pull request Sep 27, 2023
…6353)

Summary:
Pull Request resolved: facebookincubator#6353

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Reviewed By: mbasmanova

Differential Revision: D48837795

fbshipit-source-id: 372097d333f9f90a5de4507c584d29388dd18d95
codyschierbeck pushed a commit to codyschierbeck/velox that referenced this pull request Sep 27, 2023
…6353)

Summary:
Pull Request resolved: facebookincubator#6353

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Reviewed By: mbasmanova

Differential Revision: D48837795

fbshipit-source-id: 372097d333f9f90a5de4507c584d29388dd18d95
ericyuliu pushed a commit to ericyuliu/velox that referenced this pull request Oct 12, 2023
…6353)

Summary:
Pull Request resolved: facebookincubator#6353

presto support
``
try (select MAP_FROM_ENTRIES(ARRAY[Row(null, null)]))
``
and
``
try (select MAP_FROM_ENTRIES(ARRAY[null]))
``

Reviewed By: mbasmanova

Differential Revision: D48837795

fbshipit-source-id: 372097d333f9f90a5de4507c584d29388dd18d95
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants