-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Disable logical type cast of fastavro #34603
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
Open
DKER2
wants to merge
13
commits into
apache:master
Choose a base branch
from
DKER2:31656
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f1d9e93
Log Warning if process function return None
DKER2 3cdb629
Fix get function without inner
DKER2 9170808
check the first def_line also
DKER2 9370ed2
rename variable
DKER2 6219664
add strip function
DKER2 5a3c1a6
reformat function
DKER2 3bfc43d
refactor code
DKER2 278d186
fix bug in get function body
DKER2 f07d2cd
Merge branch 'master' into master
DKER2 e819366
retrigger test
DKER2 25d5431
retrigger test
DKER2 5161a11
fix: disable cast to logical type
DKER2 7c0dd2f
refactor: revert redundant change
DKER2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 will remove all avro LOGICAL_READERS in both the case where someone outputs as_row, or not meaning whatever the atomic value of the logical type is will be passed and all other info will be lost..
This might break for people who depend on the current LOGICAL_READERS behavior when as_row=False. If we decide to pass timsetamp-millis as integers, a more targeted fix would be to remove the LOGICAL_READER for 'long-timestamp-millis' only if as_row=True.
Also worth considering whether we want to treat the "timestamp-millis" as a Timestamp like mentioned in #31656 (comment).
@Abacn do you have an opinion whether the "timestamp-millis" type should be treated as an integer or a "Timestamp" type?
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.
Yeah agree, a generic suggestion is to avoid breaking change to users.