Questions tagged [palantir-foundry]

Palantir Foundry is a web-based data analytics and decision modeling SaaS platform. Use this tag for questions about building your own models in Foundry using Python, R, or SQL or working with the Foundry API.

Palantir Foundry is a web-based data analytics and decision modeling SaaS platform. Use this tag for questions about building your own models in Foundry using Python, R, or SQL or working with the Foundry API.

731 questions
2
votes
1 answer

Foundry Slate - append new row using fusion query

I have slate dashboard which uses fusion sheet for backend data and fusion service api/fusion queries to retrieve data from fusion sheets. I want write data into fusion sheet with one of the column having array type of data. Does anyone knows how to…
2
votes
2 answers

Is it possible to set an Actions submission criteria that prevents submission if an object has more than a certain number of linked objects?

I currently have an action that creates a new link between an object of type A, named OA, and an object of type B, named OB. Our workflow has a constraint such that any object of type B can at most, be linked to 4 objects of type A. As such, I would…
2
votes
1 answer

Foundry writebacks - is it possible to restore an edited record to it's unedited version (BaseVersion)

Palantir-Foundry - We have a workflow that needs updates from the backing dataset of an object with a writeback to persist in the writeback, but this fails on rows that have previously been edited. Due to the "Edits-win" model the writeback it will…
tessa
  • 734
  • 1
  • 8
  • 22
2
votes
1 answer

Ohm as unit for numeric formating in objects

I want to crate an object in the ontology which contains different measurements. For the resistance measurements I need the unit Ohm, kOhm and MOhm in the numeric formatting. In the standard units list I can`t find them. Is it possible to add them?
P. Chrast
  • 21
  • 1
2
votes
1 answer

Use custom checks in the Palantir Foundry transform decorator

I can specify checks in the transform decorator, such as Primary Key. Can I also specify a custom check which applies a lambda function, for example? Thanks! I read the documentation and couldn't find an existing check type that confirms to my use…
Schorsch
  • 23
  • 4
2
votes
3 answers

Efficiently clean HTML entities from a complex JSON file in PySpark

I am analysing some JSON data in Palantir Foundry using PySpark. The source is a 30MB uploaded JSON file containing four elements, one of which holds a table of some 60 columns and 20,000 rows. Some of the columns in this table are strings that…
2
votes
0 answers

Ontology Failing to Save Changes -- Error = OntologyMetadata:ObjectTypesReferenceDeletedInlineActionTypes

I've been working with an object in Palantir Foundry (still in experimental status, as I've been adjusting and developing based on feedback). Recently I went to change a field from a string to a string array and started running into this error (see…
leskia29
  • 41
  • 1
2
votes
3 answers

Incremental append updated rows (based on some columns) in PySpark Palantir Foundry

I would like to create a historical dataset on which I would like to add all NEW records of a dataset. For NEW records I mean new records or modified records: all those that are the same for all columns except the 'reference_date' one. I insert here…
2
votes
0 answers

What log is emmitted in Palantir Foundry Audit Logs when a change is made in Control Panel?

I want to monitor when anyone makes a change to the Foundry configuration through Control Panel. What log types from Audit Logs should I be focusing on so I can be alerted in such an event?
Aron
  • 63
  • 3
2
votes
1 answer

Is it possible to set an Actions Submission Criteria that prevents submission if an array parameter is empty?

If the [property] value for a submission criteria "[property] each is not null" is an empty array, the submission criteria seems to still succeed. Is there a way to have a submission criteria that prevents an Action submission if the input for an…
kevpl541991
  • 161
  • 4
2
votes
0 answers

How to get a pivot of a non numeric table?

In workshop, I have a requirement of a pivot table but the columns of the aggregation dataset are non numeric. Now foundry doesnt allow aggregation over string/other values. I need to do a conditional flag like value over few of these columns(ex:…
Monsta
  • 103
  • 8
2
votes
1 answer

how to remove "Missing transform attribute error"?

I am writing a code in palantir using pyspark and I have this error which I am unable to figure out. The Error is: A TransformInput object does not have an attribute withColumn. Please check the spelling and/or the datatype of the object. My code…
ar_mm18
  • 415
  • 2
  • 8
2
votes
1 answer

View members of Organizations in Palantir Foundry

I am trying to find out if certain Organzations are still reqired on our on-prem stack. I would like to takle this by investigating who is member of such an Organization. Unfortunately we created a LOT of Organizations in the past, going manually…
twinkle2
  • 341
  • 1
  • 8
2
votes
0 answers

Does Palantir Foundry plan to expand support of parameters linked to Restricted View columns and cross-filter groups to Reports?

I got a request to have cross-filtering on a report and found that it's not supported in reports, only in Contour analyses and dashboards. I'd really like to keep the additional functionality and style that comes with the report tool (rather than…
leskia29
  • 41
  • 1
2
votes
1 answer

Is there a way to get user name and email with the token returned by oauth2 in Foundry?

I am creating a company page (outside Foundry) which will use Foundry for authentication. I would like to show the name and email of the person who logged in in my website, is there a way to get it from the obtained token? I checked the (internal)…