Skip to content

Commit

Permalink
Fix bug of merge_session timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
caesar0301 committed Dec 28, 2015
1 parent dcb00a3 commit cfb9500
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package cn.edu.sjtu.omnilab.odh.spark

import cn.edu.sjtu.omnilab.odh.rawfilter.{APToBuilding, WIFICode}
import cn.edu.sjtu.omnilab.odh.utils.Utils
import org.apache.commons.lang.StringUtils
import org.apache.spark.{SparkContext, SparkConf}
import org.apache.spark.SparkContext._ // to use join etc.
Expand Down Expand Up @@ -67,7 +68,7 @@ object MergeWifiSession {

CleanWIFILog(
MAC = parts(0),
time = parts(1).toLong,
time = Utils.ISOToUnix(parts(1)),
code = parts(2).toInt,
payload = parts(3)
)
Expand Down

0 comments on commit cfb9500

Please sign in to comment.