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

REFACTOR-#3865: remove troubleshooting section about using HDK with pyarrow.gandiva #6343

Closed
wants to merge 1 commit into from

Conversation

anmyachev
Copy link
Collaborator

@anmyachev anmyachev commented Jul 2, 2023

What do these changes do?

  • first commit message and PR title follow format outlined here

    NOTE: If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

  • passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
  • passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
  • signed commit with git commit -s
  • Resolves PyDBEngine for OmniSci engine and pyarrow.gandiva for pyarrow storage format are incompatible #3865
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date

…ng HDK with pyarrow.gandiva

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
@@ -35,8 +35,6 @@ def noop_decorator(*args, **kwargs):
sys.modules["cudf"].DataFrame = type("DataFrame", (object,), {})
if not hasattr(sys.modules["cupy"], "ndarray"):
sys.modules["cupy"].ndarray = type("ndarray", (object,), {})
if not hasattr(sys.modules["pyhdk"], "PyDbEngine"):
sys.modules["pyhdk"].PyDbEngine = type("PyDbEngine", (object,), {})
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is deprecated and is not used anywhere.

Copy link
Collaborator

Choose a reason for hiding this comment

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

My understanding that it was kept for backward compatibility, maybe @AndreyPavlenko knows more

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it could be safely removed.

@YarShev
Copy link
Collaborator

YarShev commented Jul 3, 2023

The test below still passes, check it out.

def test_hdk_compatibility_with_pyarrow_gandiva(import_strategy, expected_to_fail):

@anmyachev
Copy link
Collaborator Author

@YarShev this test works on ubuntu but fails on windows.

@anmyachev anmyachev closed this Jul 3, 2023
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.

PyDBEngine for OmniSci engine and pyarrow.gandiva for pyarrow storage format are incompatible
4 participants