Questions tagged [foundry-phonograph]

15 questions
2
votes
1 answer

How to find the list of valid arguments for phonograph aggregations?

Phonograph2 is based off ElasticSearch but has a few differences that can sometime throw the following error message: errorCode: INVALID_ARGUMENT errorName: Conjure:UnprocessableEntity How to find out the set of valid properties that can be used…
2
votes
1 answer

How can I stop the Phonograph reindex job from running automatically when the backing dataset builds?

I've registered a dataset as an input dataset with Phonograph. Whenever I build the dataset, a Phonograph reindex job is kicked off. Is there any way to disable this automatic sync?
a-k-g
  • 109
  • 5
2
votes
1 answer

What is the difference between the input/backing dataset and the writeback dataset in Phonograph?

The Phonograph2 API appears to support an input/backing dataset and a writeback dataset. What's the difference between these?
a-k-g
  • 109
  • 5
1
vote
2 answers

How i get backing dataset name with phonograph id?

I have a Phonograph table id. How can I know what is the backing dataset?
Sunil
  • 23
  • 2
1
vote
1 answer

Does the writeback dataset automatically update when I make edits?

I want to use the Phonograph writeback dataset for downstream analysis in Foundry. When I make an edit to Phonograph, will the writeback dataset be automatically updated too?
Adil B
  • 14,635
  • 11
  • 60
  • 78
0
votes
1 answer

Unable to post to Phonograph , getting readonly error

When i am trying to update a row in Phonograph i am getting the following error. q_update_phonograph threw the following error: { "errorCode": "INVALID_ARGUMENT", "errorName": "Phonograph2:ReadOnlyTables", "errorInstanceId": "instanceId", …
0
votes
1 answer

Phonograph : How to filter data?

This is my query in Palantir to get my data using Phonograph { "extractors": { "result": "$" }, "headers": {}, "method": "POST", "path": "search/tables", "pathParams": {}, "queryParams": {}, "bodyJson": { "tableRids": [ "mytablerid" …
Nabs335
  • 125
  • 8
0
votes
1 answer

Return the entire query if the filter is empty in phonograph2

I am trying to make a date filter within the query in phonograph so that if the date filter is empty it returns the entire query Preview Rendered Query However, I am not very familiar with the language, I am not able to do it correctly and it is…
0
votes
0 answers

Filter for values with space from a Phonograph2 table in Palantir Foundry Slate

I want to filter records from a Phonograph table in a query using Table Search Service, endpoint Search. The problem is (as far as I am aware of) the filter terms have to be low cap and contain no space. So if I search for "Grand Opening", my term…
Vinh
  • 324
  • 3
  • 12
0
votes
1 answer

Select only some columns from a Phonograph2 table in Palantir Foundry Slate

My Foundry Slate app has a query to Phonograph2 using Table Search Service, endpoint Search. The Phonograph table has 50+ columns. The functioning query below would get all columns of rows fulfilling the filter condition object_id = the 2 values { …
Vinh
  • 324
  • 3
  • 12
0
votes
1 answer

How to perform an aggregation only query in Phonograph with the API

I want to run a phonograph aggregation query from the API and don't manage to set the pageSize. When I run an aggregation query from Slate, I can set the pageSize Parameter to 0 which has the effect, that I get only the aggregation in the…
0
votes
0 answers

Phonograph query: how to join 2 datasets and get distinct

My question concerns Slate + Phonograph end point. Solution can be expressed using ontology and objects creation but my business domain doesn't have permission to use them so I prefer to discuss about Slate + Phonograph. My questions are at the…
GDF_kuma
  • 95
  • 7
0
votes
0 answers

Does Collapse and Scripting functions exist in Foundry Elasticsearch?

Phono doc says that aggregations are based on Lime syntax, which is a layer on top of elasticsearch 6 (just a subset). Principally FILTER and AGGREGATION. First (filter) is clearly documented in Palantir doc but second is less and I often refer to…
GDF_kuma
  • 95
  • 7
0
votes
1 answer

Should I be worried about parquet files being 48MB?

I set a transform to use 2000 shuffle partitions and found that the output files had gone from 200 files (of about 442MB each) to 2000 (of about 48MB each) files. Is this something to be worried about?
Mihir
  • 982
  • 1
  • 7
  • 13
0
votes
1 answer

What happens when I unregister and reregister a dataset with Phonograph?

Some kinds of schema changes require reregistering in Phonograph. What are the implications of doing this?
a-k-g
  • 109
  • 5