Unverified Commit d33016e1 authored by Jin Hyuk Chang's avatar Jin Hyuk Chang Committed by GitHub

Cast int on last_successful_run_timestamp on Dashboard search extraction (#274)

parent 11e4df7e
...@@ -90,7 +90,7 @@ class Neo4jSearchDataExtractor(Extractor): ...@@ -90,7 +90,7 @@ class Neo4jSearchDataExtractor(Extractor):
coalesce(db_descr.description, '') as description, coalesce(db_descr.description, '') as description,
coalesce(dbg.description, '') as group_description, dbg.dashboard_group_url as group_url, coalesce(dbg.description, '') as group_description, dbg.dashboard_group_url as group_url,
db.dashboard_url as url, db.key as uri, db.dashboard_url as url, db.key as uri,
'mode' as product, last_exec.timestamp as last_successful_run_timestamp, 'mode' as product, toInt(last_exec.timestamp) as last_successful_run_timestamp,
COLLECT(DISTINCT query.name) as query_names, COLLECT(DISTINCT query.name) as query_names,
total_usage total_usage
order by dbg.name order by dbg.name
......
...@@ -2,7 +2,7 @@ import os ...@@ -2,7 +2,7 @@ import os
from setuptools import setup, find_packages from setuptools import setup, find_packages
__version__ = '2.5.16' __version__ = '2.5.17'
requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt') requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt')
with open(requirements_path) as requirements_file: with open(requirements_path) as requirements_file:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment