Skip to content

support column type definitions in table aliases - #1526

Merged
alamb merged 4 commits into
apache:mainfrom
lovasoa:support_column_definition_list_in_table_alias
Nov 18, 2024
Merged

support column type definitions in table aliases#1526
alamb merged 4 commits into
apache:mainfrom
lovasoa:support_column_definition_list_in_table_alias

Conversation

@lovasoa

@lovasoa lovasoa commented Nov 15, 2024

Copy link
Copy Markdown
Contributor
SELECT * FROM some_fun() AS x (a TEXT, b INT)

fixes #1524

```sql
SELECT * FROM some_fun() AS x (a TEXT, b INT)
```

fixes apache#1524
Comment thread src/parser/mod.rs Outdated
Comment thread src/parser/mod.rs Outdated
Comment thread tests/sqlparser_common.rs Outdated
Comment thread src/ast/query.rs Outdated

@iffyio iffyio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! cc @alamb

Comment thread src/ast/query.rs Outdated
@alamb

alamb commented Nov 18, 2024

Copy link
Copy Markdown
Contributor

nice!

@alamb
alamb merged commit f961efc into apache:main Nov 18, 2024
@lovasoa
lovasoa deleted the support_column_definition_list_in_table_alias branch November 18, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support column definition list in table alias for postgres

3 participants