-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for use_logical_type in write_pandas. use_logical_type is a new file format option of Snowflake. It is a Boolean that specifies whether Snowflake interprets Parquet logical types during data loading. The default behavior of write_pandas is unchanged. When users write a dataframe that contains datetimes with timezones and do not pass use_logical_type = True as an argument, a warning is raised (see #1687). Providing this option also fixes issue #1687 * FIX: removed pandas import and used descriptive naming over concise naming for is_datetime64tz_dtype. STYLE: if statement to idiomatic form. STYLE: broke copy_into_sql command into multiple lines, with each file_format argument on a separate line. * STYLE rearranged imports test_pandas_tools.py * REFAC: Utilized 'equal sign specifier' in f-string for improved use_logical_type warning * changelog updates --------- Co-authored-by: Dennis Van de Vorst <87502756+dvorst@users.noreply.github.com>
- Loading branch information
1 parent
5b61af7
commit 186a186
Showing
3 changed files
with
104 additions
and
7 deletions.
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
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
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