Skip to content
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

support INT32/DATE #37

Open
cldellow opened this issue Sep 25, 2018 · 0 comments
Open

support INT32/DATE #37

cldellow opened this issue Sep 25, 2018 · 0 comments

Comments

@cldellow
Copy link
Owner

The logical type date, when paired with an int32, represents the # of days since the Unix epoch, see https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#date

Let's expose it as seconds since the epoch, so that you can do:

select date(date_col, 'unixepoch')

and have it behave naturally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant