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

table functions as scalar structs. #2856

Open
universalmind303 opened this issue Apr 4, 2024 · 0 comments
Open

table functions as scalar structs. #2856

universalmind303 opened this issue Apr 4, 2024 · 0 comments
Labels
feat 🎇 New feature or request syntax Issues or features related to our SQL syntax

Comments

@universalmind303
Copy link
Contributor

Description

i'd like to be able to use table functions as scalars for simple select functions.

currently i have to do something like

select first_name from read_parquet('userdata1.parquet')

when I would prefer to just do

select read_parquet('userdata1.parquet').first_name

Internally, we can pretty easily wrap the outputs of the table function as scalar structs instead of recordbatches.

@universalmind303 universalmind303 added feat 🎇 New feature or request syntax Issues or features related to our SQL syntax labels Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 🎇 New feature or request syntax Issues or features related to our SQL syntax
Projects
None yet
Development

No branches or pull requests

1 participant