Skip to content

Conversation

@mansipp
Copy link
Contributor

@mansipp mansipp commented Dec 3, 2025

Describe the issue this Pull Request addresses

Fix CREATE TABLE LIKE command
Find more details here: #14107

Summary and Changelog

Initialize Hudi table regardless of the hoodie.query.as.ro.table.

Impact

None

Risk Level

None

Documentation Update

None

  • The config description must be updated if new configs are added or the default value of the configs are changed.
  • Any new feature or user-facing change requires updating the Hudi website. Please follow the
    instruction to make changes to the website. -->

Contributor's checklist

  • Read through contributor's guide
  • Enough context is provided in the sections above
  • Adequate tests were added if applicable

@mansipp mansipp changed the title Fix CREATE TABLE LIKE command Fix: Fix CREATE TABLE LIKE command Dec 3, 2025
@mansipp mansipp changed the title Fix: Fix CREATE TABLE LIKE command Fix: CREATE TABLE LIKE command Dec 3, 2025
@mansipp mansipp changed the title Fix: CREATE TABLE LIKE command fix: CREATE TABLE LIKE command Dec 3, 2025
@github-actions github-actions bot added the size:XS PR with lines of changes in <= 10 label Dec 3, 2025
@hudi-bot
Copy link
Collaborator

hudi-bot commented Dec 3, 2025

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build


val queryAsProp = hoodieCatalogTable.catalogProperties.get(ConfigUtils.IS_QUERY_AS_RO_TABLE)
if (queryAsProp.isEmpty) {
if (!hoodieCatalogTable.hoodieTableExists) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add test cases based on #14107 that fail without the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS PR with lines of changes in <= 10

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants