Expand my Community achievements bar.

SOLVED

Extract Segment evaluation type using Query Service

Avatar

Level 3

Hi @Community,

I working on creating extract of qualified segments using query service. Query service join tables "segmentsnapshot" and "profilesnapshot" and fetch segment id and segment name along with other profile attributes. Is there any way I can extract segments using query, which has evaluation type "Batch" only not "Edge" and  "Streaming"..

Field "evalaution_type".is neither present in "profilesnapshot " nor in "segmentsnapshot" tables, but exist in API calls.

 

Thanks in advance

Best Regards..

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@SantoshRa5 as far as I can see, segment evaluation method (batch / streaming / edge) is part of the segment definition metadata (evaluationInfo) held by Segmentation Service, not by UPS snapshot datasets.

 

Using a segmentation API filter will narrow down to batch-only segments

GET https://platform.adobe.io/data/core/ups/segment/definitions?evaluationInfo.batch.enabled=true

 

Not sure if that helps or if anyone else has some Query Service insights they could share

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

@SantoshRa5 as far as I can see, segment evaluation method (batch / streaming / edge) is part of the segment definition metadata (evaluationInfo) held by Segmentation Service, not by UPS snapshot datasets.

 

Using a segmentation API filter will narrow down to batch-only segments

GET https://platform.adobe.io/data/core/ups/segment/definitions?evaluationInfo.batch.enabled=true

 

Not sure if that helps or if anyone else has some Query Service insights they could share