Skip to content

Conversation

Tishj
Copy link
Contributor

@Tishj Tishj commented Apr 15, 2024

This PR fixes an internal issue we found related to the VacuumStatement.

VacuumStatement::Copy was not implemented correctly, and also VacuumStatement::Serialize/Deserialize
These have now been fixed.

select_list.push_back(std::move(result.expression));
}
info.columns = std::move(non_generated_column_names);
// Creating a table without any physical columns is not supported
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 removed the else here that was setting has_table to false when select_list was empty.
Because this can't happen.

This was preparing for a scenario where a table exists that has no physical columns, only consisting of generated columns, which can't happen because that's not supported.

@duckdb-draftbot duckdb-draftbot marked this pull request as draft April 15, 2024 14:12
@Tishj Tishj marked this pull request as ready for review April 15, 2024 14:12
@Tishj Tishj requested a review from Mytherin April 16, 2024 07:23
@Mytherin Mytherin merged commit 7b8f794 into duckdb:main Apr 16, 2024
@Mytherin
Copy link
Collaborator

Thanks!

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Apr 16, 2024
Merge pull request duckdb/duckdb#11656 from Tishj/statement_copy_verification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants