aliyun / alibabacloud-odps-maxframe-client

Apache License 2.0
3 stars 1 forks source link

Dataframe.join error: ValueError: Operator type <class 'maxframe.dataframe.indexing.set_index.DataFrameSetIndex'> can't be accepted by any engine #43

Open snowljs opened 1 week ago

snowljs commented 1 week ago
df = md.DataFrame({'key': ['K0', 'K1', 'K2', 'K3', 'K4', 'K5'],
                   'A': ['A0', 'A1', 'A2', 'A3', 'A4', 'A5']})
other = md.DataFrame({'key': ['K0', 'K1', 'K2'],
                      'B': ['B0', 'B1', 'B2']})
df.set_index('key').join(other.set_index('key')).execute()

---
File [/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe_framedriver/services/dag/dagrunner.py:413](http://localhost:8888/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe_framedriver/services/dag/dagrunner.py#line=412), in _run()

File [/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe_framedriver/services/analyzer/manager.py:216](http://localhost:8888/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe_framedriver/services/analyzer/manager.py#line=215), in analyze_dag()

File [/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe/lib/aio/_threads.py:35](http://localhost:8888/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe/lib/aio/_threads.py#line=34), in to_thread()

File [/usr/ali/python3.7/lib/python3.7/concurrent/futures/thread.py:57](http://localhost:8888/usr/ali/python3.7/lib/python3.7/concurrent/futures/thread.py#line=56), in run()

File [/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe/lib/wrapped_pickle.py:131](http://localhost:8888/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe/lib/wrapped_pickle.py#line=130), in wrapped()

File [/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe_framedriver/services/analyzer/manager.py:204](http://localhost:8888/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe_framedriver/services/analyzer/manager.py#line=203), in analyze_func()

File [/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe_framedriver/services/analyzer/manager.py:92](http://localhost:8888/apsara/odps/KubeTempRoot/releasea/executor-releasea-32/MAXFRAME_TASK_default_2024-06-20-18-15-23-2916_1_21539_1/python/framedriver/maxframe_framedriver/services/analyzer/manager.py#line=91), in _label_tileables()

ValueError: Operator type <class 'maxframe.dataframe.indexing.set_index.DataFrameSetIndex'> can't be accepted by any engine
---