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

Default generated column name is confusing on casts #4723

Open
comphead opened this issue Dec 23, 2022 · 1 comment
Open

Default generated column name is confusing on casts #4723

comphead opened this issue Dec 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@comphead
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
There were bunch of discussions that generated column names confusing, hard to read and hard to reuse in outer queries.
Apart from that they represents wrong types when cast happens, like in example below, the column name suggests its Utf8 but in fact its Date32

❯ select date '2000-01-01', arrow_typeof(date '2000-01-01');
+--------------------+---------------------------------+
| Utf8("2000-01-01") | arrowtypeof(Utf8("2000-01-01")) |
+--------------------+---------------------------------+
| 2000-01-01         | Date32                          |
+--------------------+---------------------------------+

There were some proposals on column naming standard #3990
@andygrove highlighted the part of the problem #3722

Describe the solution you'd like
Column names shouldn't be confusing

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@comphead comphead added the enhancement New feature or request label Dec 23, 2022
@comphead
Copy link
Contributor Author

@alamb I already worked on this #3722 and would like to continue if we can decide the column name convention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant