-
Save Static Insight using dkuSaveInsight()
Hi, I want to save a rpart plot (through a R recipe) as a static insight to publish it in a dashboard. I have found from this documentation that by using the dkuSaveInsight(), one can save any R plot as a static insight. However, the documentation provided is not very explanatory. Any ideas/help on this would be highly…
-
Scenario
I want to build a dataset on a monthly basis, but I want to save each result (the built dataset) separately in a folder. How do I do it? I do not want to append the data. Each built dataset month-on-month should be saved in separate datasets.
-
'Sub' scenario aborts 'main' scenario
I have created a scenario (Scenario A) that will trigger another scenario (Scenario B) I want to abort scenario B when certain condition is met (which should also abort Scenario A) My thought is to introduce Kill scenario step in Scenario B that will kill Scenario A (and by right, it will abort Scenario B) . Will this…
-
How to load a txt file delimiter by * ?
I normaly use it to load txt files delimted by * : test_df = spark.read.format("txt").option("inferSchema", infer_schema).option("header", first_row_is_header).option("sep", "*").load(file_location) But here in DataIku neither have the option to set the delimiter, neither of use my own code. Someone knows how to load using…
-
Write html file to azur blob storage with content type text/html
Hello, I am trying to write an html file with the help of a python recipe into a folder which is located on a blog storage. The writing works so far, but unfortunately the content type of the file is not text/html, but application/octet-stream. In the Element folder in Dataiku I have set the Content Type to text/html under…
-
Disable dash instance created before running dash project on dataiku
Hello, I have developped a dash web-app using Dash packag, and it works well locally. However, once I have uploaded it to Dataiku, it is not working as expected. My question is: how should I remove the "app = dash.Dash(...)" instance defined in dataiku? Is there a way to disable it and enable the dash instance declared in…
-
Bar chart - How to display the count of a column ?
Hi everyone, Hope your are all doing good. I was wondering if there is a way to create a bar chart with just using x axis and y would be the count like if we have this dataset : i just would like to have one bar with count of Id (equal to 3) and not the count per distinct id id | name | 1| curry | 2| adebayo | 3| doncic|…
-
DSS Managed Folder Issues
I get the following error when I run the python below in DSS Error: Job failed: Error in Python process: At line 14: <class 'AttributeError'>: 'DSSManagedFolder' object has no attribute 'list_objects' See actual Python script below import dataikuimport pandas as pdclient = dataiku.api_client()project =…
-
Update schema of existing hive partitioned tables (HDFS)
Currently, my workplace has two servers for Designer nodes, one for "lower environment" and another one for "production". When we want to deploy to Prod, we will create the project bundle from the lower env and import to Prod designer node. Getting to my question: In the lower env, when there is an existing partitioned…
-
When trying to execute a SQL recipe we have the error SHOWPLAN permission denied in database
When trying to execute a SQL recipe in a dataiku flow, we have the error SHOWPLAN permission denied in database. We tried to set the advanced options for the SQL recipe to not display the execution plan. We tried to uncheck the validation before the run. Are there any other settings we need to modify to disable the…