Skip to content

Commit

Permalink
REFACTOR-modin-project#3865: remove troubleshooting section about usi…
Browse files Browse the repository at this point in the history
…ng HDK with pyarrow.gandiva

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
  • Loading branch information
anmyachev committed Jul 2, 2023
1 parent f32a9bd commit 311ae69
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,), {})

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
import modin
Expand Down
21 changes: 0 additions & 21 deletions docs/getting_started/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -266,27 +266,6 @@ either by excluding the time of the first iteration from your measurements or ex
Common errors
-------------

Error when using HDK engine along with ``pyarrow.gandiva``: ``LLVM ERROR: inconsistency in registered CommandLine options``
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

This can happen when you use HDK engine along with ``pyarrow.gandiva``:

.. code-block:: python
import modin.config as cfg
cfg.Engine.put("Native") # The engine would be imported with dlopen flags
cfg.StorageFormat.put("Hdk")
cfg.IsExperimental.put(True)
import modin.pandas as pd
import pyarrow.gandiva as gandiva # Error
# CommandLine Error: Option 'enable-vfe' registered more than once!
# LLVM ERROR: inconsistency in registered CommandLine options
# Aborted (core dumped)
**Solution**

Do not use HDK engine along with ``pyarrow.gandiva``.

Error when using Dask engine: ``RuntimeError: if __name__ == '__main__':``
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Expand Down

0 comments on commit 311ae69

Please sign in to comment.