<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Querying Atlas for tables created after a certain date/time in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Querying-Atlas-for-tables-created-after-a-certain-date-time/m-p/181103#M64948</link>
    <description>&lt;P&gt;You can
query using the API for entities created/modified after a certain date.  You would do this by running a DSL query
against the “createTime” attribute via rest.&lt;/P&gt;&lt;P&gt;For
example, if you would like to query for hive tables created/modified after 2017-04-18
6:49pm Your rest call would look like:&lt;/P&gt;&lt;P&gt;http://localhost:21000/api/atlas/v2/search/dsl?query=createTime%3E'2017-04-18T18%3A49%3A44.000Z'&amp;amp;typeName=hive_table&lt;/P&gt;&lt;P&gt;The date
format is as follows:&lt;/P&gt;&lt;P&gt;{yyyy}-{mm}-{dd}T{hh}:{mm}:{ss}.{zzz}Z&lt;/P&gt;&lt;P&gt;{year}-{month}-{day}T{hours}:{minutes}:{seconds}.{timezone}Z&lt;/P&gt;&lt;P&gt;e.g. 2017-04-18T18:49:44.000Z&lt;/P&gt;&lt;P&gt;You can also use a subset of the date rather than the entire string.  For example you can query by year only (2017), full date only (2017-04-18), date and time only (2017-04-18T18:49:44)&lt;/P&gt;</description>
    <pubDate>Sat, 15 Jul 2017 01:43:50 GMT</pubDate>
    <dc:creator>egarelnabi</dc:creator>
    <dc:date>2017-07-15T01:43:50Z</dc:date>
    <item>
      <title>Querying Atlas for tables created after a certain date/time</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Querying-Atlas-for-tables-created-after-a-certain-date-time/m-p/181102#M64947</link>
      <description>&lt;P&gt;Im using HDP 2.6 and I'm trying to use DSL to query Atlas for tables created after a certain date.  So far, I've tried querying based on the attribute  "createTime" but am unable to figure out the date format used (milliseconds, seconds, etc...).  It seems that it only takes year (&amp;gt;2017, &amp;lt;2018) but nothing more.&lt;/P&gt;&lt;P&gt;Does anyone have any idea how to query for tables created/modified after a certain date/time?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 01:04:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Querying-Atlas-for-tables-created-after-a-certain-date-time/m-p/181102#M64947</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2017-07-15T01:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Atlas for tables created after a certain date/time</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Querying-Atlas-for-tables-created-after-a-certain-date-time/m-p/181103#M64948</link>
      <description>&lt;P&gt;You can
query using the API for entities created/modified after a certain date.  You would do this by running a DSL query
against the “createTime” attribute via rest.&lt;/P&gt;&lt;P&gt;For
example, if you would like to query for hive tables created/modified after 2017-04-18
6:49pm Your rest call would look like:&lt;/P&gt;&lt;P&gt;http://localhost:21000/api/atlas/v2/search/dsl?query=createTime%3E'2017-04-18T18%3A49%3A44.000Z'&amp;amp;typeName=hive_table&lt;/P&gt;&lt;P&gt;The date
format is as follows:&lt;/P&gt;&lt;P&gt;{yyyy}-{mm}-{dd}T{hh}:{mm}:{ss}.{zzz}Z&lt;/P&gt;&lt;P&gt;{year}-{month}-{day}T{hours}:{minutes}:{seconds}.{timezone}Z&lt;/P&gt;&lt;P&gt;e.g. 2017-04-18T18:49:44.000Z&lt;/P&gt;&lt;P&gt;You can also use a subset of the date rather than the entire string.  For example you can query by year only (2017), full date only (2017-04-18), date and time only (2017-04-18T18:49:44)&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 01:43:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Querying-Atlas-for-tables-created-after-a-certain-date-time/m-p/181103#M64948</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2017-07-15T01:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Atlas for tables created after a certain date/time</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Querying-Atlas-for-tables-created-after-a-certain-date-time/m-p/181104#M64949</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/445/egarelnabi.html" nodeid="445"&gt;@Eyad Garelnabi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Above DSL Search query is working for creating time only , Its not working for Modified Time&lt;/P&gt;&lt;P&gt;Find below query with modified time , Its not working&lt;/P&gt;&lt;P&gt;http://localhost:21000/api/atlas/v2/search/dsl?query=modifiedTime%3E'2017-08-02T16%3A33%3A23.408Z'&amp;amp;typeName=hive_table&lt;/P&gt;&lt;P&gt;Please help on this..!!!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 17:15:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Querying-Atlas-for-tables-created-after-a-certain-date-time/m-p/181104#M64949</guid>
      <dc:creator>nittala999</dc:creator>
      <dc:date>2018-03-26T17:15:59Z</dc:date>
    </item>
  </channel>
</rss>

