Python Code Recipe Engine Utilization

Prakhyath
Prakhyath Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 10 ✭✭✭✭

We are using custom python code recipe's to aid few transformations in our assignment, The input and output datasets are in Snowflake. Since we are not having an option to choose the engine to run Code recipe, need to get the information on the utilization, on few queries as follows,

* Code Recipe uses Spark Engine ?

* Since the input and output is Snowflake, Code recipe execution adds to Snowflake computation and billed for that ?

* How to calculate the utilization(Space and Compute) for the code recipe?


Operating system used: Windows 64 bit

Tagged:

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker

    Hi @Prakhyath
    ,

    Where is your Python recipe is executed, it can be run :

    1. DSS Server if local execution , you can see this from Advanced tab of the recipe and activity logs will show " Running a DSS Python recipe locally" in the activity logs.

    2. Or on K8s, this reflect in the advanced tab of the recipe and logs.

    4. On Snowflake - Snowpark. https://doc.dataiku.com/dss/latest/connecting/sql/snowflake.html#snowpark-integration, but this requires a specific setup.

    More likely it will be [1] or [2] in that case, storage + queries will be in billed Snowflake, and the actual compute will be done by your DSS instance/K8s cluster.

    In terms of storage, you can check the status tab of the input/output dataset and calculate storage costs in Snowflake for those tables.

    For the actual query cost on the Snowflake, it will be more difficult to determine if multiple queries are running simultaneously on the warehouse the cost is still only reported for that hour for the whole warehouse. You can speak with Snowflake support to see if they can provide some additional granularity.

    Thanks,

Setup Info
    Tags
      Help me…