Questions tagged [snaplogic-script-snap]

The SnapLogic Script Snap allows you to execute three different types of languages, including Javascript, Python, and Ruby scripts. You can pass information from JSON documents into the Script Snap.

8 questions
3
votes
1 answer

Using Third Party Libraries in Snaplogic Script Snap

I am attempting to create a python script using the script snap to issue a batch request to a Cassandra cluster (the Cassandra script does not support batch operations for some reason), and I need a way to use the 'cassandra' library I have looked…
Zachary Oldham
  • 838
  • 1
  • 5
  • 21
2
votes
1 answer

How to convert Python script to JVM in snaplogic

The below-mentioned code is working fine but I want to integrate the below-mentioned python script to JVM script to run in SnapLogic tool. Any leads will be very helpful. import os import sys def execute(): …
sumathi
  • 55
  • 8
2
votes
1 answer

SnapLogic Python Read and Execute SQL File

I have a simple SQL file that I'd like to read and execute using a Python Script Snap in SnapLogic. I created an expression library file to reference the Redshift account and have included it as a parameter in the pipeline. I have the code below…
Jim H.
  • 23
  • 4
0
votes
0 answers

Snaplogic Remote Python Executor on AWS Linux AMI

I've started up an AWS Linux AMI with a snaplogic DS RPE docker. It is working just fine it seems. When i use the public DNS from my AMI as the hostname for my remote python account on snaplogic, it doesn't seem to work. I can't seem to get…
0
votes
0 answers

Snap Logic to Snowflake Connection using Key Pair Authentication

We used to have below field for OAuth2 in snapLogic while connecting to snowflake. Authentication parameter value: refresh_token session:role: However, while using key pair authentication, there is no field to put the functional role. Hence, if the…
0
votes
4 answers

File parsing using Unix Shell Scripting

I am trying to do some transformation and I’m stuck. Here goes the problem description. Below is the pipe delimited file. I have masked…
0
votes
1 answer

Why do documents routed to error output cause pipelines to fail when used through ULTRA tasks?

I'm making a pipeline that fires a couple of REST POST calls in parallel and then updates a table in a database. It is going to be used via an ULTRA task. I'm using a script for certain transformations and mapping that I won't be able to do using…
Bilesh Ganguly
  • 3,792
  • 3
  • 36
  • 58
-2
votes
2 answers

Executing a python script in snaplogic

I am trying to run a python script through script snap in snaplogic. I am facing some issues where it ask me to declare a script hook variable. Can you please help me on that.