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

metadata column support #13975

Open
chenkovsky opened this issue Jan 2, 2025 · 1 comment · May be fixed by #14057
Open

metadata column support #13975

chenkovsky opened this issue Jan 2, 2025 · 1 comment · May be fixed by #14057
Labels
enhancement New feature or request

Comments

@chenkovsky
Copy link

Is your feature request related to a problem or challenge?

spark support metadata column

https://spark.apache.org/docs/3.4.3/api/java/org/apache/spark/sql/connector/catalog/SupportsMetadataColumns.html

then we can treat rowid as metadata column.

Describe the solution you'd like

add metadata column in TableProvider trait

Describe alternatives you've considered

No response

Additional context

No response

@chenkovsky chenkovsky added the enhancement New feature or request label Jan 2, 2025
@nishikinocurtis
Copy link

+1, also encountering cases where parsing and executing queries referring to rowid is required.

Both logical planning and physical planning (related to scan()s) would also need enhancement to 1. parse queries refer to metadata columns and 2. if necessary produce corresponding execution plan to pull metadata out.

I'd be interested in contributing this feature if more detailed discussion regarding these surrounding implementation is made.

@chenkovsky chenkovsky linked a pull request Jan 9, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants