简体   繁体   中英

Writing into cassandra 0001-01-01 00:00:00.0. changed into 0001-01-01 10:30:00?

I am reading a csv file from spark as data frame . For column x have time stamp value, 0001-01-01 00:00:00.0.

After writing a data frame to Cassandra table, I found timestamp value is changed, 0001-01-01 10:30:00 Any one help me..

Check to see if the timezone differs. Also, you might validate that it's not converting from your local timezone into GMT.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM