Skip to content

Conversation

@nastra
Copy link
Contributor

@nastra nastra commented Jun 22, 2023

No description provided.

@nastra nastra marked this pull request as draft June 22, 2023 10:05
@github-actions github-actions bot added the core label Jun 22, 2023
@github-actions github-actions bot added the API label Jun 23, 2023
@nastra nastra force-pushed the view-apis branch 2 times, most recently from 9da9538 to 4f295a1 Compare June 23, 2023 07:53
@nastra nastra marked this pull request as ready for review June 23, 2023 07:56
@nastra nastra force-pushed the view-apis branch 3 times, most recently from 582d367 to a8a5e25 Compare June 26, 2023 10:00
This was referenced Jun 29, 2023
@nastra nastra force-pushed the view-apis branch 4 times, most recently from 0dde21e to a5bc2a7 Compare June 30, 2023 13:57
.replaceTransaction()
.commitTransaction())
.isInstanceOf(NoSuchTableException.class)
.hasMessageStartingWith("Table does not exist: ns.view");
Copy link
Contributor

Choose a reason for hiding this comment

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

This error seems a bit odd since the object does exist, it is just a view not a table. While I'd love to have a nicer error message, this probably shouldn't block getting this in. We can explore whether it is clean to have a better message later (by checking if catalog is a view catalog?).

Copy link
Contributor Author

@nastra nastra Sep 27, 2023

Choose a reason for hiding this comment

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

I've added a TODO and I'll make sure to follow up on this topic

.withQuery("spark", "select * from ns.tbl")
.replace())
.isInstanceOf(NoSuchViewException.class)
.hasMessageStartingWith("View does not exist: ns.table");
Copy link
Contributor

Choose a reason for hiding this comment

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

Same idea as above.

@rdblue rdblue merged commit 6100efc into apache:master Sep 28, 2023
@rdblue
Copy link
Contributor

rdblue commented Sep 28, 2023

Thanks, @nastra! Merged.

@nastra nastra deleted the view-apis branch September 29, 2023 07:10
@nastra nastra self-assigned this Nov 25, 2024
zhongyujiang pushed a commit to zhongyujiang/iceberg that referenced this pull request Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants