-
Notifications
You must be signed in to change notification settings - Fork 50
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
Allow ints and string inputs for TIMESTAMP columns, consistent with other OmniSci client interfaces #138
Merged
randyzwitch
merged 12 commits into
heavyai:master
from
jp-harvey:auto-conversion-from-object-to-datetime
Dec 17, 2018
Merged
Allow ints and string inputs for TIMESTAMP columns, consistent with other OmniSci client interfaces #138
randyzwitch
merged 12 commits into
heavyai:master
from
jp-harvey:auto-conversion-from-object-to-datetime
Dec 17, 2018
Conversation
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
Merge latest changes
Update from base repo
* Fixes for boolean na types, typos, na assignments in test cases (heavyai#110) * Fix na types for boolean, fix test case na types, fillna prior to boolean Thrift cast to prevent type error * Attempt to distinguish int from bigint when int column contains None, fix int64 test that was actually an in32 test, add int32 test case * Fix linting issue * Option to chunk Pandas columnar data load (heavyai#117) * Fixes for boolean na types, typos, na assignments in test cases (heavyai#110) (#3) * Fix na types for boolean, fix test case na types, fillna prior to boolean Thrift cast to prevent type error * Attempt to distinguish int from bigint when int column contains None, fix int64 test that was actually an in32 test, add int32 test case * Fix linting issue * Add option for chunking a Pandas columnar data load * Fix linting issues * Reorder options * Reorder options
Update from source repo
Sync with master
Fix bug with loading Pandas dataframe row-wise (heavyai#133)
… return int if int passed
randyzwitch
reviewed
Dec 14, 2018
randyzwitch
reviewed
Dec 17, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Currently mapdql and Immerse both allow the user to insert timestamps as strings or integers. pymapd insists on having the timestamp in datetime64[ns] format which is inconsistent.
The column type of the OmniSci table is what determines that the data should be a TIMESTAMP as of recently, so we're not longer guessing on input what the user wanted, and are no longer naive about the destination data type. This allows us to make confident decisions about what the data is and what should happen to it to allow the user multiple input options without having to do the transformations prior to passing to pymapd, bringing the behavior in-line with other OmniSci client utilities.