Skip to content

Conversation

@leesf
Copy link
Contributor

@leesf leesf commented Jan 16, 2022

Tips

What is the purpose of the pull request

Introduce HoodieCatalog to manage Hudi tables for Spark Datasource V2.

Brief change log

(for example:)

  • Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request

(Please pick either of the following options)

This pull request is a trivial rework / code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end.
  • Added HoodieClientWriteTest to verify the change.
  • Manually verified the change by running a job locally.

Committer checklist

  • Has a corresponding JIRA in PR title & commit

  • Commit message is descriptive of the change

  • CI is green

  • Necessary doc changes done or have another open PR

  • For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@leesf leesf requested a review from xushiyan January 16, 2022 09:10
@leesf leesf force-pushed the HUDI-3254 branch 3 times, most recently from 5feee50 to 7df4b2c Compare January 16, 2022 12:38
@xushiyan
Copy link
Member

@leesf is this to replace #4350 ?

@leesf
Copy link
Contributor Author

leesf commented Jan 20, 2022

@leesf is this to replace #4350 ?

@xushiyan yes, #4350 would be closed.

@leesf
Copy link
Contributor Author

leesf commented Jan 23, 2022

@hudi-bot run azure

val tableSchema = HoodieSqlCommonUtils.getTableSqlSchema(metaClient)
if (tableSchema.isDefined && schema.isEmpty) {
// Fill the schema with the schema from the table
c.copy(tableSchema = tableSchema.get)
Copy link
Contributor

Choose a reason for hiding this comment

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

i think we don't need to fill the table schema in here. We can move this process to HoodieCatalog.createHoodieTable.

Copy link
Member

@xushiyan xushiyan left a comment

Choose a reason for hiding this comment

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

@leesf I had another pass. I think overall logics make sense. Do you have any test plans for this change? feel free to share any test setup you have. It'll be much preferred to see some tests results to help verify the end-to-end functionalities.

@nsivabalan nsivabalan added priority:critical Production degraded; pipelines stalled priority:blocker Production down; release blocker and removed priority:critical Production degraded; pipelines stalled labels Feb 8, 2022
@leesf leesf force-pushed the HUDI-3254 branch 2 times, most recently from 2d6d4b7 to b67b0c1 Compare February 14, 2022 01:37
@hudi-bot
Copy link
Collaborator

CI report:

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

@xushiyan
Copy link
Member

verified via spark shell basic read write are working cc @leesf

@xushiyan xushiyan merged commit 0db1e97 into apache:master Feb 14, 2022
vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

big-needle-movers priority:blocker Production down; release blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants