Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CreateTableTransaction for HiveCatalog #683

Merged
merged 15 commits into from
May 31, 2024

Conversation

HonahX
Copy link
Contributor

@HonahX HonahX commented May 1, 2024

Follow-up of #498

Comment on lines 613 to 614
@pytest.mark.parametrize("format_version", [1, 2])
@pytest.mark.parametrize('catalog', [pytest.lazy_fixture('session_catalog_hive'), pytest.lazy_fixture('session_catalog')])
Copy link
Contributor

Choose a reason for hiding this comment

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

We're mixing double and single quotes 😱 Shouldn't Ruff fix this?

Copy link
Contributor Author

@HonahX HonahX May 30, 2024

Choose a reason for hiding this comment

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

Our current setting is

[format]
quote-style = "preserve"

which leave quotes unchanged.

I changed it to "double" and found that 39 files need to be re-formatted. I've created a separete PR to give it a try: #781

I will re-visit this issue tomorrow if the test fails :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Now #781 is in, we need to rebase every PR anyway :D

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

@HonahX This looks good, thanks for working on this 👍

@HonahX HonahX merged commit 84a2c04 into apache:main May 31, 2024
7 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.

None yet

2 participants