Schema: convert timestamp into integer

Mixed types such as integers and floats are causing issues with Hive.

Bug: T182000
Change-Id: I6643168a67207a59d56d7d39b2408587a5bb3524
This commit is contained in:
Baha 2017-12-04 15:47:31 -05:00
parent 1e31d95c56
commit 38a7978edb
3 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View file

@ -97,7 +97,8 @@ function getEventLoggingTracker( user, config, bucket, window ) {
*/
function getCurrentTimestamp() {
if ( window.performance && window.performance.now ) {
return window.performance.now();
// return an integer; see T182000
return Math.round( window.performance.now() );
}
return null;
}