Skip to content

Conversation

@nastra
Copy link
Contributor

@nastra nastra commented Jan 31, 2024

What changes were proposed in this pull request?

Follow-up API improvements based on from #43677

Why are the changes needed?

Required for DataSourceV2 view support.

Does this PR introduce any user-facing change?

No

How was this patch tested?

N/A

Was this patch authored or co-authored using generative AI tooling?

N/A

@github-actions github-actions bot added the SQL label Jan 31, 2024
@nastra
Copy link
Contributor Author

nastra commented Jan 31, 2024

@cloud-fan @jzhuge since you both looked at #43677 in the past, could you also take a look at this one please?

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@nastra nastra Feb 1, 2024

Choose a reason for hiding this comment

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

@cloud-fan do you mean adding This can be null if getting the metadata for the view is expensive to the javadoc? Sure I can do that, but the default implementation currently would always return the created view

Copy link
Contributor

Choose a reason for hiding this comment

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

Yea only change the doc for now. We will need to deal with null when implementing the v2 view commands.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've updated the doc for create + replace view

@nastra nastra force-pushed the SPARK-45807-return-type branch from 9657f97 to 59cbbb6 Compare February 1, 2024 14:53
@nastra nastra force-pushed the SPARK-45807-return-type branch from 59cbbb6 to c25effd Compare February 1, 2024 16:54
@cloud-fan
Copy link
Contributor

The test failure is unrelated, thanks, merging to master!

@cloud-fan cloud-fan closed this in cedef63 Feb 2, 2024
@nastra nastra deleted the SPARK-45807-return-type branch February 2, 2024 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants