Skip to content

Try import pyarrow and pandas when necessary#13

Merged
auxten merged 6 commits into
pybindfrom
hotfix-pyarrow-dep
Apr 18, 2023
Merged

Try import pyarrow and pandas when necessary#13
auxten merged 6 commits into
pybindfrom
hotfix-pyarrow-dep

Conversation

@auxten

@auxten auxten commented Apr 17, 2023

Copy link
Copy Markdown
Member
  1. Automatic fix chdb_version = (0, 5, 0) in __init__.py in setup.py
  2. Try importing pyarrow and pandas when necessary, tell user to install them if import error.

@auxten auxten changed the title Fix version in __init__.py Try import pyarrow and pandas when necessary Apr 17, 2023
@auxten auxten linked an issue Apr 17, 2023 that may be closed by this pull request
@auxten auxten merged commit 028329b into pybind Apr 18, 2023
@lmangani

Copy link
Copy Markdown
Contributor

latest release runs great on all platforms, and it seems quite fast! I'm running it behind a light API for testing with playground:
image

@auxten

auxten commented Apr 18, 2023

Copy link
Copy Markdown
Member Author

latest release runs great on all platforms, and it seems quite fast! I'm running it behind a light API for testing with playground: image

Oh, this is really cool. I have never thought chdb could be used this way.

@lmangani

lmangani commented Apr 18, 2023

Copy link
Copy Markdown
Contributor

I know It's a little backwards because you worked really hard to make this into an in-process library, and this hack turns it back into a pretend server, but its great to test performance and portability in containers against another setup 1:1 with the playground

@lmangani

Copy link
Copy Markdown
Contributor

Incredibly this bundle runs smoothly on a free fly.io instance 🤯🤯🤯🤯🤯

@nmreadelf nmreadelf deleted the hotfix-pyarrow-dep branch August 31, 2023 06:55
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.

Pandas dataframe output introduced pyarrow and pandas dependency

2 participants