-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timestamp conversion failing? #596
Comments
If I investigate with
|
Works for me
Then
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm very likely doing something wrong. Could use a clue. I have a struct I'm using to translate from json to parquet files. I have not figured out how to use the same 'time.Time' field for both json and parquet, so I have these two fields:
I also tried
The json file has something like
Json decoding works fine and I have a valid, non-zero timestamp in go (verified with the debugger). In the code, I then do this:
And then I write out the parquet using the normal mechanisms. I've verified that the value assigned to
logEntry.ParquetTimestamp
is not 0 at this point.However it appears that I always wind up with a 0 timestamp in the parquet files. Using
parquet cat
to dump the file, I seeCan anyone tell me what I'm doing wrong?
The text was updated successfully, but these errors were encountered: