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

SNOW-966358 Support TableFunction in DataFrame Select() #65

Merged
merged 5 commits into from
Nov 21, 2023

Conversation

sfc-gh-bli
Copy link
Collaborator

@sfc-gh-bli sfc-gh-bli commented Nov 20, 2023

SNOW-966358 Support TableFunction in DataFrame Select()

  • DataFrame.join(<TableFunction>) renamed columns in source dataframe if the name conflicts with the table function result columns' name.
  • Support DataFrame.select(<TableFunction>)

tf in select

refactor dataframe join

rename df join
@sfc-gh-bli sfc-gh-bli marked this pull request as ready for review November 20, 2023 19:24
// todo: error message
val tf = columns.filter(_.expr.isInstanceOf[TableFunctionExpression])
tf.size match {
case 0 =>
Copy link
Contributor

Choose a reason for hiding this comment

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

add comments about what each case means

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added

@sfc-gh-bli sfc-gh-bli enabled auto-merge (squash) November 21, 2023 18:02
@sfc-gh-bli sfc-gh-bli merged commit 327882f into main Nov 21, 2023
11 checks passed
@sfc-gh-bli sfc-gh-bli deleted the snow-966358-2 branch November 21, 2023 19:11
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.

2 participants