spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wang, Daoyuan" <>
Subject RE: SparkSQL Timestamp query failure
Date Mon, 24 Nov 2014 02:10:21 GMT

I think you can try
 cast(l.timestamp as string)='2012-10-08 16:10:36.0'


-----Original Message-----
From: whitebread [] 
Sent: Sunday, November 23, 2014 12:11 AM
Subject: Re: SparkSQL Timestamp query failure

Thanks for your answer Akhil, 

I have already tried that and the query actually doesn't fail but it doesn't return anything
either as it should.
Using single quotes I think it reads it as a string and not as a timestamp. 

I don't know how to solve this. Any other hint by any chance?



View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail: For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message