Skip to content

Conversation

@codope
Copy link
Member

@codope codope commented Mar 24, 2022

What is the purpose of the pull request

This PR fixes some of the deltastreamer tests in order to stabilize the CI

Brief change log

  • Remove glob pattern basePath from the deltastreamer tests.
  • Ensure correct partition fields are set in hive sync config.
  • Disable jdbc source test.

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.

@xushiyan
Copy link
Member

the CI will fail. but if you can put screenshots showing which testcases become passing with this patch, would be great

codope and others added 2 commits March 24, 2022 14:09
Minor checkstyle

Some more removals of glob path
for CI failure in TestHoodieRealTimeRecordReader
@codope codope force-pushed the ci-fix-glob-hive branch from 13d5a7a to 2f7204b Compare March 24, 2022 08:44
@codope codope changed the title [WIP] Fix glob nd hive sync in deltastreamer tests [HUDI-3689] Fix glob path and hive sync in deltastreamer tests Mar 24, 2022
@codope codope marked this pull request as ready for review March 24, 2022 09:47
@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

Copy link
Contributor

@danny0405 danny0405 left a comment

Choose a reason for hiding this comment

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

+1

@codope codope merged commit fe2c398 into apache:master Mar 24, 2022
TestHelpers.assertRecordCount(1000, downstreamTableBasePath + "/*/*.parquet", sqlContext);
TestHelpers.assertDistanceCount(1000, downstreamTableBasePath + "/*/*.parquet", sqlContext);
TestHelpers.assertDistanceCountWithExactValue(1000, downstreamTableBasePath + "/*/*.parquet", sqlContext);
TestHelpers.assertRecordCount(1000, downstreamTableBasePath, sqlContext);
Copy link
Contributor

Choose a reason for hiding this comment

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

@nsivabalan let's create a ticket to follow-up on globbing issue

orcProps.setProperty("hoodie.embed.timeline.server", "false");
orcProps.setProperty("hoodie.datasource.write.recordkey.field", "_row_key");
orcProps.setProperty("hoodie.datasource.write.partitionpath.field", "not_there");
orcProps.setProperty("hoodie.datasource.write.partitionpath.field", "partition_path");
Copy link
Contributor

Choose a reason for hiding this comment

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

@codope @nsivabalan aren't we changing the intent of the test here?

vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
…e#5117)

* Remove glob pattern basePath from the deltastreamer tests.

* [HUDI-3689] Fix file scheme config

for CI failure in TestHoodieRealTimeRecordReader

Co-authored-by: Raymond Xu <[email protected]>
stayrascal pushed a commit to stayrascal/hudi that referenced this pull request Apr 12, 2022
…e#5117)

* Remove glob pattern basePath from the deltastreamer tests.

* [HUDI-3689] Fix file scheme config

for CI failure in TestHoodieRealTimeRecordReader

Co-authored-by: Raymond Xu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants