Skip to content
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

RFC: Allow SPI Calls from inside of Multicorn Python #224

Open
wants to merge 62 commits into
base: master
Choose a base branch
from
Open

RFC: Allow SPI Calls from inside of Multicorn Python #224

wants to merge 62 commits into from

Conversation

rbiro
Copy link

@rbiro rbiro commented Jun 3, 2019

** Not suitable for merging **

Here are a couple of simple changes that allow making SPI calls from inside of multicorn. We use them to do field translation as well as update tables based on the results of api calls to other data storage providers. We are about to start pounding on them.

While we are doing the final debugging and testing, I wanted to get an idea of the interest in having them cleaned up and prepared for a merge.

Please comment here on your interest and about specific cleanups you think are necessary. e.g. should the Statement class be moved out to it's own file? Would using the standard pypl extensions be better than these extensions? etc.

rbiro and others added 30 commits August 17, 2016 16:25
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
…mory leak.

--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
… the crash is.

--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
Turned free and execute back on.

--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
… (it is called.)

--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
connect and disconnect from SPI.

--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
rbiro added 11 commits March 5, 2020 11:49
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
trying to convert from python to a datum.

--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
Apparently they do not any more.
Added some asserts to catch the related problems
early.
@rdunklau
Copy link
Contributor

Hello,

I'm not sure what you are trying to provide here, but at least on python3 I just added the fact that we can import the plpy module directly from Multicorn. Maybe that would make things simpler if you could use plpy.execute ?

--------- BEGIN META VARIABLES --------
Project :
Task :
Done :
--------- END META VARIABLES --------
@rbiro
Copy link
Author

rbiro commented Mar 10, 2020 via email

@rbiro
Copy link
Author

rbiro commented Mar 13, 2020 via email

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.

2 participants