Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.3k
ARROW-12096: [C++] Allows users to define arrow timestamp unit for Parquet INT96 timestamp #10461
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
4de42a5eaaf7884977c03534bcb1ed1e9213741d08ee293fcFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -40,9 +40,12 @@ Result<std::shared_ptr<::arrow::DataType>> GetArrowType(Type::type physical_type | ||
| int type_length); | ||
| Result<std::shared_ptr<::arrow::DataType>> GetArrowType( | ||
| const schema::PrimitiveNode& primitive); | ||
| Type::type physical_type, const LogicalType& logical_type, int type_length, | ||
| ::arrow::TimeUnit::type int96_arrow_time_unit = ::arrow::TimeUnit::NANO); | ||
| Result<std::shared_ptr<::arrow::DataType>> GetArrowType( | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. | ||
| const ColumnDescriptor& descriptor); | ||
| const schema::PrimitiveNode& primitive, | ||
| ::arrow::TimeUnit::type int96_arrow_time_unit = ::arrow::TimeUnit::NANO); | ||
| } // namespace arrow | ||
| } // namespace parquet | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This
defaultcase doesn't seem useful, unless the compiler requires it?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so. I was just copying how others had written switch expressions in the existing codebase. Will remove 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.