-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from samansmink/fix-incorrect-timestamp-map
Fix 2 small bugs
- Loading branch information
Showing
4 changed files
with
57 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# name: test/sql/delta_kernel_rs/timestamp_ntz.test | ||
# description: table with timestamp_ntz type (timstamp without timezone) | ||
# group: [delta_kernel_rs] | ||
|
||
require parquet | ||
|
||
require delta | ||
|
||
require-env DELTA_KERNEL_TESTS_PATH | ||
|
||
query IIIIII | ||
DESCRIBE FROM delta_scan('${DELTA_KERNEL_TESTS_PATH}/data-reader-timestamp_ntz') order by id | ||
---- | ||
id INTEGER YES NULL NULL NULL | ||
tsNtz TIMESTAMP YES NULL NULL NULL | ||
tsNtzPartition TIMESTAMP YES NULL NULL NULL | ||
|
||
query III | ||
FROM delta_scan('${DELTA_KERNEL_TESTS_PATH}/data-reader-timestamp_ntz') order by id | ||
---- | ||
0 2021-11-18 02:30:00.123456 2021-11-18 02:30:00.123456 | ||
1 2013-07-05 17:01:00.123456 2021-11-18 02:30:00.123456 | ||
2 NULL 2021-11-18 02:30:00.123456 | ||
3 2021-11-18 02:30:00.123456 2013-07-05 17:01:00.123456 | ||
4 2013-07-05 17:01:00.123456 2013-07-05 17:01:00.123456 | ||
5 NULL 2013-07-05 17:01:00.123456 | ||
6 2021-11-18 02:30:00.123456 NULL | ||
7 2013-07-05 17:01:00.123456 NULL | ||
8 NULL NULL |