From 311ae696fc48a30a1bd3c06f9f02383bf9c45c20 Mon Sep 17 00:00:00 2001 From: Anatoly Myachev Date: Sun, 2 Jul 2023 11:56:53 +0200 Subject: [PATCH] REFACTOR-#3865: remove troubleshooting section about using HDK with pyarrow.gandiva Signed-off-by: Anatoly Myachev --- docs/conf.py | 2 -- docs/getting_started/troubleshooting.rst | 21 --------------------- 2 files changed, 23 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 1e6ac43a891..9560b59796d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/docs/getting_started/troubleshooting.rst b/docs/getting_started/troubleshooting.rst index 85d3b7f4ad0..7826a692f86 100644 --- a/docs/getting_started/troubleshooting.rst +++ b/docs/getting_started/troubleshooting.rst @@ -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__':`` """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""