Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How can i get the Yesterday modified GUID's information from Apache Atlas using DSL Search ?

Highlighted

How can i get the Yesterday modified GUID's information from Apache Atlas using DSL Search ?

New Contributor

Hi ,

How can i get the yesterday modified GUID's information from Apache Atlas using DSL Search ,

Since i didn't see any last modified attribute in Atlas in all types

Thanks in advance ...!!!

2 REPLIES 2

Re: How can i get the Yesterday modified GUID's information from Apache Atlas using DSL Search ?

Expert Contributor

@Satya Nittala

To answer your question, you could use a query like:

Department where __modificationTimestamp > "2018-03-19T00:00:00.00Z select __guid

Where the date field is yesterday's date (today - 1). There isn't a keyword like today.

Hope this helps.

Re: How can i get the Yesterday modified GUID's information from Apache Atlas using DSL Search ?

New Contributor

@Ashutosh Mestry .. Thanks For quick response ,

In DSL Search we unable to give the modified Timestamp in query, Its giving error

http://localhost:21000/api/atlas/v2/search/dsl?query=modifiedTime%3E%272017-08-02T16%3A33%3A23.408Z%...

If i give Create Time , I am getting results ...Problem with modified Time

Can u please help on this

Thanks in advance ...!!!

Don't have an account?
Coming from Hortonworks? Activate your account here