Forum Discussion
Hi,
Did you ever get a solution for this, I am running into a similar issue where a SQL Execute snap that is using a SQL select top 300 * from tbl statement rather than a stored procedure;it just hangs at 1024 documents. In the SQL Server activity (sp_who2) there is a cursor event (FETCH API_CURSOR0000000000000FD7) that appears to just hang. The pipeline will not go any further - even if I use a different select statement it still hangs at that snap.
Any information or insight here would be very helpful,
Thank you
Gordon
is the same query working outside snaplogic in any db client tool?
- ptaylor5 years agoEmployee
Yes, if it’s Python 2.x compatible and doesn’t do anything too weird.
It does require some special configuration on the plex node though. You create a file called
.jython
in the home directory of the user that the jcc runs as. In that file you would definepython.path=
/the/path/to/the/root/of/your/python/library/collectionfor example, on my system it would be
python.path=/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
Then in your Script source, you can just import any of the packages that are present under that path.
Related Content
- 2 years ago