Skip to content

Conversation

pushcoder
Copy link
Contributor

Which issue does this PR close?

What changes are included in this PR?

Refactoring. Keep only one source of location generation. So remove MockLocationGenerator and use DefaultLocationGenerator when table location is available/user given.

Are these changes tested?

Yes. Changed UT of MockLocationGenerator to DefaultLocationGenerator(Using newly added method)

Copy link
Contributor

@CTTY CTTY left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

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

Thanks @pushcoder for this pr, just one nit!

@pushcoder pushcoder force-pushed the remove-MockLocationGenerator branch from 691e562 to ac65efd Compare September 9, 2025 13:14
@pushcoder pushcoder force-pushed the remove-MockLocationGenerator branch from ac65efd to 9f4651d Compare September 9, 2025 13:16
Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

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

Thanks @pushcoder for this pr!

@liurenjie1024 liurenjie1024 merged commit c04b7ac into apache:main Sep 10, 2025
17 checks passed
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.

Remove MockLocationGenerator and its usages

3 participants