apache / datafusion-python

Apache DataFusion Python Bindings
https://datafusion.apache.org/python
Apache License 2.0
321 stars 64 forks source link

datafusion-cli not installed after pip install datafusion #587

Open l1t1 opened 4 months ago

l1t1 commented 4 months ago

Describe the bug I followed the https://arrow.apache.org/datafusion/user-guide/cli.html, but the CLI cannot run

datafusion-cli
-bash: datafusion-cli: command not found

python module works

python3
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import datafusion                                                                          
>>> datafusion.__version__
'35.0.0'

To Reproduce Steps to reproduce the behavior:

pip install datafusion
datafusion-cli

Expected behavior the CLI runs.

Additional context both windows and linux have the problem.

Michael-J-Ward commented 1 month ago

@l1t1 Did this used to be the case?

I would expect that you need to use cargo install or some other method from the datafusion-cli installation guide.

l1t1 commented 1 month ago

I think this method is more friendly to a normal user . https://github.com/apache/datafusion/pull/9452