-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Add ibm-db package to enable DB2 as datasource: #7581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
In 65d0eb7 we commented out the |
|
I can find at least this one for M1 : ibmdb/python-ibmdb#712 . Does it match with what you had observed ? |
There is also this one : https://github.com/ibmdb/python-ibmdb/issues/797#issuecomment-2565727152 |
Somehow, the URL is correct but the link was broken. |
|
And, when I try to build Redash on my Apple Silicon Mac using "make up", I got the following error. |
yes, correct is ibmdb/python-ibmdb#797 (comment) |
it should be linked to this : ibmdb/python-ibmdb#712 @yoshiokatsuneo is this something that may be done ? at least tried on M1 to confirm it fixes this issue ? |
|
@nicof38 I think running intel binary on Apple Silicon requires intel CPU emulation that is too slow to be practical solution... |
even without intel, it should work as mentionned in readme here : https://github.com/ibmdb/python-ibmdb/blob/master/README.md#for-macos-m1m2-apple-silicon-chip-system Can you test it on your side with your M1 ? |
|
As I mentioned, I tried to use this PR with ibm-db (3.2.7) , but the installing ibm-db failed... |
|
@yoshiokatsuneo ok, ibm-db package only only state to run on python x64 for M1, which is not the case here, so not working for this platform. |
And, I just noticed that the documentation says about MacOS on Apple Silicon. But Redash on Mac runs on Docker, so actually it requires to run on Linux on Apple Silicon(ARM), instead of MacOS on Apple Silicon. |
It looks right. there is no official description mentioning about CPU... At the same time, nowadays, I feel practically most open source software support ARM and Intel nowadays, and it is common to support both platform nowadays... Technically, it should be possible to support both platform, and make ibm-db2 available only on intel platform... |
|
Possibly, we may enable ibm-db only on intel platform on pyproject.tom like below ? (I only tested on Mac.) |
|
@yoshiokatsuneo thanks for this one, tested on my side, and working fine also. Gonna modify the PR with this ;) |
What type of PR is this?
Description
No modification for compatiblity, just re-enable the DB2 driver
How is this tested?
Add a datasource, DB2 datasource is available and working as it was before release 25.
Related Tickets & Documents
#7349 (comment)
Mobile & Desktop Screenshots/Recordings (if there are UI changes)